Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / ShapeActionsCommand Class / ShapeActionsCommand Constructor / ShapeActionsCommand Constructor(Shape,Int32,Int32,Size,Size,AdjustEditingShapeTypes,Double)
The GrapeCity.Spreadsheet.Drawing.Shape that will be modified.
The node moving distance.
The shape moving distance.
0: Adjust the node, 1: Adjust the first control point, 2: Adjust the second control point.


In This Topic
    ShapeActionsCommand Constructor(Shape,Int32,Int32,Size,Size,AdjustEditingShapeTypes,Double)
    In This Topic
    Initializes a new instance of the ShapeActionsCommand class for creating node of the editing shape.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal activeDrawingObject As Shape, _
       ByVal pathIndex As Integer, _
       ByVal nodeIndex As Integer, _
       ByVal nodeChange As Size, _
       ByVal shapeChange As Size, _
       ByVal adjustNodeType As AdjustEditingShapeTypes, _
       Optional ByVal zoomFactor As Double _
    )
    'Usage
     
    
    Dim activeDrawingObject As Shape
    Dim pathIndex As Integer
    Dim nodeIndex As Integer
    Dim nodeChange As Size
    Dim shapeChange As Size
    Dim adjustNodeType As AdjustEditingShapeTypes
    Dim zoomFactor As Double
     
    Dim instance As New ShapeActionsCommand(activeDrawingObject, pathIndex, nodeIndex, nodeChange, shapeChange, adjustNodeType, zoomFactor)

    Parameters

    activeDrawingObject
    The GrapeCity.Spreadsheet.Drawing.Shape that will be modified.
    pathIndex
    nodeIndex
    nodeChange
    The node moving distance.
    shapeChange
    The shape moving distance.
    adjustNodeType
    0: Adjust the node, 1: Adjust the first control point, 2: Adjust the second control point.
    zoomFactor
    See Also