Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The collection of open document objects. See Document (page 115) for information on the document object.
Note
Because the Documents class is a property of the Application (page 75) object, you use the object name, documents, rather than the class name, Documents, in your code, as in the following example:
documents.add(800, 500, 72, "myDocument", NewDocumentMode.RGB)
The following example, which uses an uppercase D in the object name, is incorrect:
Documents.add(800, 500, 72, "myDocument", NewDocumentMode.RGB)