Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / WorksheetDrawing Class / MoveBy Method / MoveBy(AnchorPoint,Double,Double,Double) Method
The AnchorPoint value to move.
The horizontal distance.
The vertical distance.


In This Topic
MoveBy(AnchorPoint,Double,Double,Double) Method
In This Topic
Moves the AnchorPoint value by the specified horizontal and vertical distance.
Syntax
'Declaration
 
Public Overloads Function MoveBy( _
   ByVal point As AnchorPoint, _
   ByVal horizontal As Double, _
   ByVal vertical As Double, _
   Optional ByVal zoomFactor As Double _
) As AnchorPoint
 
'Usage
 
Dim instance As WorksheetDrawing
Dim point As AnchorPoint
Dim horizontal As Double
Dim vertical As Double
Dim zoomFactor As Double
Dim value As AnchorPoint
 
value = instance.MoveBy(point, horizontal, vertical, zoomFactor)

Parameters

point
The AnchorPoint value to move.
horizontal
The horizontal distance.
vertical
The vertical distance.
zoomFactor

Return Value

The new AnchorPoint location.
See Also