Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / ShapeActionsCommand Class / ShapeActionsCommand Constructor / ShapeActionsCommand Constructor(Shape,Int32,Int32,Int32,AdjustEditingShapeTypes,SegmentType,Size)
The GrapeCity.Spreadsheet.Drawing.Shape that will be modified.
The AdjustEditingShapeTypes
The GrapeCity.Spreadsheet.Drawing.SegmentType of node will be changed.


In This Topic
    ShapeActionsCommand Constructor(Shape,Int32,Int32,Int32,AdjustEditingShapeTypes,SegmentType,Size)
    In This Topic
    Initializes a new instance of the ShapeActionsCommand class for change the segment type of a segment in the shape's path
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal activeDrawingObject As Shape, _
       ByVal pathIndex As Integer, _
       ByVal beforeNodeIndex As Integer, _
       ByVal afterNodeIndex As Integer, _
       ByVal adjustPointType As AdjustEditingShapeTypes, _
       ByVal segmentType As SegmentType, _
       Optional ByVal shapeChange As Size _
    )
    'Usage
     
    
    Dim activeDrawingObject As Shape
    Dim pathIndex As Integer
    Dim beforeNodeIndex As Integer
    Dim afterNodeIndex As Integer
    Dim adjustPointType As AdjustEditingShapeTypes
    Dim segmentType As SegmentType
    Dim shapeChange As Size
     
    Dim instance As New ShapeActionsCommand(activeDrawingObject, pathIndex, beforeNodeIndex, afterNodeIndex, adjustPointType, segmentType, shapeChange)

    Parameters

    activeDrawingObject
    The GrapeCity.Spreadsheet.Drawing.Shape that will be modified.
    pathIndex
    beforeNodeIndex
    afterNodeIndex
    adjustPointType
    The AdjustEditingShapeTypes
    segmentType
    The GrapeCity.Spreadsheet.Drawing.SegmentType of node will be changed.
    shapeChange
    See Also