API Documentation > CorelDRAW > 2025-v26 > TextRange > IVGTextRange
TextRange.FindRanges method
Find text character ranges using the supplied query condition in CQL
Syntax:
Function FindRanges(ByVal Query As String) As TextRanges
Parameters:
Name Type Description
Query
String
Remarks:
The FindRanges method finds text-character ranges by using the supplied query condition in Corel Query Language (CQL). For information on CQL, see the section "Including queries in macros."