API Documentation > CorelDRAW > 2025-v26
IVGSegments interface
The main interface for Segments class
Syntax:
Interface IVGSegments
Properties:
Name Description
_NewEnum Returns an enumerator that iterates through a collection
Application Gets the application to which the segment collection belongs
Count Gets the number of segments in the segment collection
First Returns the first segment in the collection
Item Gets a reference to the specified segment, in base 1
Last Returns the last segment in the collection
Parent Gets the parent subpath
Methods:
Name Description
All Creates a range containing all the segments of the collection
AllExcluding Creates a range containing all the segments except the ones specified
Range Creates a range containing the specified segments