codebase="hhctrl.ocx#Version=4,73,8561,0"> codebase="hhctrl.ocx#Version=4,73,8561,0" > codebase="hhctrl.ocx#Version=4,73,8561,0" >
 
  Layouts Collection

The collection of all layouts in the drawing.

VBA class name:

AcadLayouts 

Create using:

N/A 

Access via:

Document.Layouts 

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.

Methods

Add

GetExtensionDictionary

GetXData

Item

SetXData  

Properties

Application

Count

Document

Handle

HasExtensionDictionary

ObjectID

ObjectName

OwnerID  

 

   Comments?