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


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

    Parameters

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

    Return Value

    true if the anchor row or column is changed; otherwise, only row/column offset changed.
    See Also