[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Drawing.IShapeNodes.SetSegmentType

SetSegmentType Method

SetSegmentType(int, SegmentType)

Sets the segment type of the segment that follows the node specified by index. If the node is a control point for a curved segment, this method sets the segment type for that curve.

Declaration
void SetSegmentType(int index, SegmentType segmentType)
Sub SetSegmentType(index As Integer, segmentType As SegmentType)
Parameters
Type Name Description
int index

The node whose segment type is to be set.

SegmentType segmentType

Specifies if the segment is straight or curved.

Remarks

Note that this may affect the total number of nodes by inserting or deleting adjacent nodes.