API Documentation > CorelDRAW > 2025-v26
TextRanges class
TextRanges class
Syntax:
Class TextRanges
Remarks:
The TextRanges class represents a collection of text ranges (or TextRange objects).
Properties:
Name Description
_NewEnum Returns an enumerator that iterates through a collection
Count Returns the number of text ranges in the collection
First Returns the first text range in the collection
Item Returns the specified text range
Last Returns the last text range in the collection
Methods:
Name Description
Reverse Returns a new collection with the order of text ranges inversed