Properties |
Methods |
The collection of open documents.
The Documents collection contains all the Document objects that are currently open in the QuickField application.
The following three properties of the Application object return the Documents collection of chosen type:
Application.Problems property returns the Documents collection containing all the problems that are currently open.
Application.Models property returns the collection of opened geometric models.
Application.DataDocs ( type ) property returns the collection of the data document of given type.
Each Documents collection contains the documents of the same type.
Use Add method to create a new empty document of the same type and add it to the collection.
Use the Open method to open the existing file. This creates a new document and then loads the file to it.
The Close method of a Documents collection closes all the Document objects it contains at once.
Dim prbNew As QuickField.Problem
Dim prbOld As QuickField.Problem
Set prbNew = Problems.Add
Set prbOld = Problems.Open("Examples\Magn1.pbm")