Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / Rectangle Structure / Offset Method / Offset(Double,Double) Method
The horizontal offset.
The vertical offset


In This Topic
Offset(Double,Double) Method
In This Topic
Adjusts the location of this rectangle by the specified amount.
Syntax
'Declaration
 
Public Overloads Sub Offset( _
   ByVal x As Double, _
   ByVal y As Double _
) 
 
'Usage
 
Dim instance As Rectangle
Dim x As Double
Dim y As Double
 
instance.Offset(x, y)

Parameters

x
The horizontal offset.
y
The vertical offset
See Also