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 As Shape, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As AdjustEditingShapeTypes, _
ByVal As SegmentType, _
Optional ByVal 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