Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / ShapeActionsCommand Class / ShapeActionsCommand Constructor / ShapeActionsCommand Constructor(Shape,FreeFormNode,Int32,Int32,Int32,Size)
The GrapeCity.Spreadsheet.Drawing.Shape that will be modified.
The GrapeCity.Spreadsheet.API.Drawing.FreeFormNode that will be added to shape's segments.
The GrapeCity.Spreadsheet.API.Drawing.FreeFormNode before the beforeNodeIndex
The GrapeCity.Spreadsheet.API.Drawing.FreeFormNode after the beforeNodeIndex
The shape moving distance.


In This Topic
    ShapeActionsCommand Constructor(Shape,FreeFormNode,Int32,Int32,Int32,Size)
    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 addingNode As FreeFormNode, _
       ByVal pathIndex As Integer, _
       ByVal beforeNodeIndex As Integer, _
       ByVal afterNodeIndex As Integer, _
       Optional ByVal shapeChange As Size _
    )
    'Usage
     
    
    Dim activeDrawingObject As Shape
    Dim addingNode As FreeFormNode
    Dim pathIndex As Integer
    Dim beforeNodeIndex As Integer
    Dim afterNodeIndex As Integer
    Dim shapeChange As Size
     
    Dim instance As New ShapeActionsCommand(activeDrawingObject, addingNode, pathIndex, beforeNodeIndex, afterNodeIndex, shapeChange)

    Parameters

    activeDrawingObject
    The GrapeCity.Spreadsheet.Drawing.Shape that will be modified.
    addingNode
    The GrapeCity.Spreadsheet.API.Drawing.FreeFormNode that will be added to shape's segments.
    pathIndex
    beforeNodeIndex
    The GrapeCity.Spreadsheet.API.Drawing.FreeFormNode before the beforeNodeIndex
    afterNodeIndex
    The GrapeCity.Spreadsheet.API.Drawing.FreeFormNode after the beforeNodeIndex
    shapeChange
    The shape moving distance.
    See Also