In This Topic
Adds a point in the current shape, and then draws a line from the current node to the last node that was added.
Syntax
'Declaration
Function AddNodes( _
ByVal As SegmentType, _
ByVal As EditingType, _
ByVal As Double, _
ByVal As Double, _
Optional ByVal As Double, _
Optional ByVal As Double, _
Optional ByVal As Double, _
Optional ByVal As Double _
) As IFreeFormBuilder
'Usage
Dim instance As IFreeFormBuilder
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 IFreeFormBuilder
value = instance.AddNodes(segmentType, editingType, x1, y1, x2, y2, x3, y3)
Parameters
- segmentType
- The type of segment to be added.
- editingType
- The editing property of the vertex.
- x1
- If the of the new segment is EditingType.Auto, this argument specifies the horizontal distance, in pixcels, from the upper-left corner of the document to the end point of the new segment.
If the of the new node is EditingType.Corner, this argument specifies the horizontal distance, in pixcels, from the upper-left corner of the document to the first control point for the new segment. - y1
- If the of the new segment is EditingType.Auto, this argument specifies the vertical distance, in pixcels, from the upper-left corner of the document to the end point of the new segment.
If the of the new node is EditingType.Corner, this argument specifies the vertical distance, in pixcels, from the upper-left corner of the document to the first control point for the new segment. - x2
- If the of the new segment is EditingType.Corner, this argument specifies the horizontal distance, in pixcels, from the upper-left corner of the document to the second control point of the new segment.
If the of the new segment is EditingType.Auto, don't specify a value for this argument. - y2
- If the of the new segment is EditingType.Corner, this argument specifies the vertical distance, in pixcels, from the upper-left corner of the document to the second control point of the new segment.
If the of the new segment is EditingType.Auto, don't specify a value for this argument. - x3
- If the of the new segment is EditingType.Corner, this argument specifies the horizontal distance, in pixcels, from the upper-left corner of the document to the second control point of the new segment.
If the of the new segment is EditingType.Auto, don't specify a value for this argument. - y3
- If the of the new segment is EditingType.Corner, this argument specifies the vertical distance, in pixcels, from the upper-left corner of the document to the second control point of the new segment.
If the of the new segment is EditingType.Auto, don't specify a value for this argument.
See Also