ShapeNode.SegmentType Property
Returns a value that indicates whether the segment associated with the specified node is straight or curved. If the specified node is a control point for a curved segment, this property returns msoSegmentCurve. Read-only MsoSegmentType.
Syntax
expression.SegmentType
expression A variable that represents a ShapeNode object.
Remarks
| MsoSegmentType can be one of these MsoSegmentType constants. |
| msoSegmentCurve |
| msoSegmentLine |
Use the SetSegmentType method to set the value of this property.
Example
This example changes all straight segments to curved segments in shape three on myDocument. Shape three must be a freeform drawing.
| Visual Basic for Applications |
|---|
|