API Documentation
>
CorelDRAW
>
2025-v26
>
SubPath
>
IVGSubPath
SubPath.FirstSegment property
Gets the first segment of the subpath
Syntax:
Property
Get
FirstSegment
(
)
As
Segment
Remarks:
The
FirstSegment
property returns the first segment of a subpath.
Examples:
The following VBA example converts, to a line, the first segment of the first subpath of the selected curve.
Sub Test() ActiveShape.Curve.Subpaths(1).FirstSegment.Type = cdrLineSegment End Sub