ShapeNodes.SetSegmentType(Int32, MsoSegmentType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the segment type of the segment that follows the specified node.
public:
void SetSegmentType(int Index, Microsoft::Office::Core::MsoSegmentType SegmentType);
public void SetSegmentType (int Index, Microsoft.Office.Core.MsoSegmentType SegmentType);
abstract member SetSegmentType : int * Microsoft.Office.Core.MsoSegmentType -> unit
Public Sub SetSegmentType (Index As Integer, SegmentType As MsoSegmentType)
Parameters
- Index
- Int32
Required Integer. The node whose segment type is to be set.
- SegmentType
- MsoSegmentType
Required MsoSegmentType. Specifies if the segment is straight or curved.
Remarks
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.