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. Note that this may affect the total number of nodes by inserting or deleting adjacent nodes.
Syntax
expression.SetSegmentType(Index, SegmentType)
expression Required. An expression that returns a ShapeNodes object.
Index Required Long. The node whose segment type is to be set.
SegmentType Required Long. Specifies if the segment is straight or curved. Can be either of the following MsoSegmentType constants: msoSegmentCurve or msoSegmentLine.