API Documentation > CorelDRAW > 2025-v26
Documents class
Represents a collection of all open documents in CorelDRAW or Corel DESIGNER. The order of the documents in the collection represents the order in which the documents were created or opened.
Syntax:
Class Documents
Remarks:
The Documents class represents a collection of all open documents in CorelDRAW. The order of the documents in the collection represents the order in which the documents were created or opened.
Properties:
Name Description
_NewEnum Returns an enumerator that iterates through a collection
Application Gets the application to which the document collection belongs
Count Gets the number of items in the collection of documents
Item Gets a reference to a specified document, in base 1
Parent Gets the parent of which the document collection is a child