'Declaration
Function Insert( _ ByVal index As Integer, _ ByVal segmentType As SegmentType, _ ByVal editingType As EditingType, _ ByVal x1 As Double, _ ByVal y1 As Double, _ ByVal x2 As Double, _ ByVal y2 As Double, _ ByVal x3 As Double, _ ByVal y3 As Double _ ) As IShapeNode
'Usage
Dim instance As IShapeNodes Dim index As Integer Dim segmentType As SegmentType Dim editingType As EditingType Dim x1 As Double Dim y1 As Double Dim x2 As Double Dim y2 As Double Dim x3 As Double Dim y3 As Double Dim value As IShapeNode value = instance.Insert(index, segmentType, editingType, x1, y1, x2, y2, x3, y3)
IShapeNode Insert( int index, SegmentType segmentType, EditingType editingType, double x1, double y1, double x2, double y2, double x3, double y3 )
Parameters
- index
- The number of the shape node after which to insert a new node.
- segmentType
- The segment type.
- editingType
- The editing type.
- x1
- If the editingType of the new segment is EditingType.Auto, this argument specifies the horizontal distance, measured in pixels, from the upper-left corner of the document to the end point of the new segment.
If the editingType of the new node is EditingType.Corner , this argument specifies the horizontal distance, measured in pixels, from the upper-left corner of the document to the first control point for the new segment.
- y1
- If the editingType of the new segment is EditingType.Auto, this argument specifies the vertical distance, measured in pixels, from the upper-left corner of the document to the end point of the new segment.
If the editingType of the new node is EditingType.Corner , this argument specifies the vertical distance, measured in pixels, from the upper-left corner of the document to the first control point for the new segment.
- x2
- If the editingType of the new segment is EditingType.Corner, this argument specifies the horizontal distance, measured in pixels, from the upper-left corner of the document to the second control point for the new segment.
If the editingType of the new segment is EditingType.Auto , don't specify a value for this argument.
- y2
- If the editingType of the new segment is EditingType.Corner , this argument specifies the vertical distance, measured in pixels, from the upper-left corner of the document to the second control point for the new segment.
If the editingType of the new segment is EditingType.Auto , don't specify a value for this argument.
- x3
- If the editingType of the new segment is EditingType.Corner , this argument specifies the horizontal distance, measured in pixels, from the upper-left corner of the document to the end point of the new segment.
If the editingType of the new segment is EditingType.Auto , don't specify a value for this argument.
- y3
- If the editingType of the new segment is EditingType.Corner , this argument specifies the vertical distance, measured in pixels, from the upper-left corner of the document to the end point of the new segment.
If the editingType of the new segment is EditingType.Auto , don't specify a value for this argument.