Edit

Share via


ShapeNodes.SetSegmentType(Int32, MsoSegmentType) Method

Definition

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);
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. Can be one of these MsoSegmentType constants:MsoSegmentTypemsoSegmentCurvemsoSegmentLine

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.

Applies to