Viewports Collection |
The collection of all viewports in the drawing.
VBA class name: |
AcadViewports |
---|---|
Create using: |
N/A |
Access via: |
Document.Viewports |
To add a new member to the collection, use the Add method. To select a specific viewport, use the Item method. To delete a specific viewport, use the DeleteConfiguration method or the Delete method found on the Viewport object.
The number of viewports you can have active at one time is controlled by the MAXACTVP system variable. There can be only one instance of the Viewports Collection. The Viewports Collection is predefined for each drawing. You can make multiple references to it by using the Viewports property. Once done with an object, the reference is automatically released.
Methods |
Properties |
Events |
Comments? |