The collection of all layouts in the drawing.
Supported Platforms: Windows only
Class Information
- Class Name
-
AcadLayouts
- Object Inheritance
-
Object AcadObject AcadLayouts
- Create Using
-
VBA
Not applicable
- Access Via
-
VBA
Document.Layouts
Members
These members are part of this object:
Methods |
Properties |
Events |
---|---|---|
None |
Remarks
To add a new Layout to the collection, use the Add method. When a new layout is created, it is not automatically made current. To make a layout current, use the ActiveLayout property.
You can create a maximum of 255 layouts in your drawing. There can be only one instance of the Layouts collection. The Layouts collection is predefined for each document.
To select a specific layout, including the ModelSpace and PaperSpace collections, use the Item method.
Although the Layouts collection inherits a Delete method, you cannot actually delete the collection. Attempting to delete the Layouts collection will result in an error. The Delete method has been removed from the documentation for this collection.