Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / Rect Structure / Offset Method
The horizontal offset.
The vertical offset


In This Topic
    Offset Method (Rect)
    In This Topic
    Adjusts the location of this rectangle by the specified amount.
    Syntax
    'Declaration
     
    
    Public Sub Offset( _
       ByVal x As Integer, _
       ByVal y As Integer _
    ) 
    'Usage
     
    
    Dim instance As Rect
    Dim x As Integer
    Dim y As Integer
     
    instance.Offset(x, y)
    public void Offset( 
       int x,
       int y
    )

    Parameters

    x
    The horizontal offset.
    y
    The vertical offset
    See Also