Partager via


ShapeNode.SegmentType Property

Returns a value that indicates whether the segment associated with the specified node is straight or curved. Read-only.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
ReadOnly Property SegmentType As MsoSegmentType
    Get
'Usage
Dim instance As ShapeNode
Dim value As MsoSegmentType

value = instance.SegmentType
MsoSegmentType SegmentType { get; }

Property Value

Type: Microsoft.Office.Core.MsoSegmentType

Remarks

This property is read-only. Use the SetSegmentType(Int32, MsoSegmentType) method to set the value of this property.

The value returned by the SegmentType property can be one of the following MsoSegmentType constants: (The SegmentType property returns msoSegmentCurve if the specified node is a control point for a curved segment.)

msoSegmentCurve

msoSegmentLine

See Also

Reference

ShapeNode Interface

ShapeNode Members

Microsoft.Office.Interop.PowerPoint Namespace