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 As Shape, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Size, _
ByVal As Size, _
ByVal As AdjustEditingShapeTypes, _
Optional ByVal 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)
public ShapeActionsCommand(
Shape ,
int ,
int ,
Size ,
Size ,
AdjustEditingShapeTypes ,
double
)
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