Spread Windows Forms 18
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / Rectangle Structure / Translate Method
The horizontal offset.
The vertical offset


In This Topic
    Translate Method
    In This Topic
    Translates this rectangle by the specified amount of distance.
    Syntax
    'Declaration
     
    
    Public Function Translate( _
       ByVal x As Double, _
       ByVal y As Double _
    ) As Rectangle
    'Usage
     
    
    Dim instance As Rectangle
    Dim x As Double
    Dim y As Double
    Dim value As Rectangle
     
    value = instance.Translate(x, y)
    public Rectangle Translate( 
       double x,
       double y
    )

    Parameters

    x
    The horizontal offset.
    y
    The vertical offset
    See Also