Using Corel Query Language (CQL) to search for objects in CorelDRAW documents
Searching for objects with certain properties is a common task while writing macros for CorelDRAW. Normally, if you need to search for objects of specific size, or fill, you need to loop through all the shapes on the page, inspect each shape's properties and determine if it meets the criteria or not.
For example, to delete all objects…