codebase="hhctrl.ocx#Version=4,73,8561,0"> codebase="hhctrl.ocx#Version=4,73,8561,0" > codebase="hhctrl.ocx#Version=4,73,8561,0" >
 
  Layout object

The plot settings and visual properties of a model space or paper space block.

VBA class name:

AcadLayout 

Create using:

Layouts.Add 

Access via:

Layouts.Item
Document.ActiveLayout
ModelSpace.Layout
PaperSpace.Layout
Block.Layout 

The representation of a layout is slightly different in ActiveX from that of the AutoCAD user interface. In ActiveX, the content of a standard AutoCAD layout is broken out into two separate objects: Layout object and Block object. The Layout object contains the plot settings and the visual properties of the layout as it appears in the AutoCAD user interface. The Block object contains the geometry for the layout.

Each Layout object is associated with one Block object. To access the Block object associated with a given layout, use the Block property. Conversely, each Block object is associated with one Layout object. To access the Layout object associated with a given Block, use the Layout property for that block.

In ActiveX, in addition to the paper space layouts, model space is considered a layout.

To create a new layout, use the Add method. To edit or query a layout, use the following methods and properties:

Methods

CopyFrom

Delete

GetCustomScale

GetExtensionDictionary

GetPaperMargins

GetPaperSize

GetWindowToPlot

GetXData

SetCustomScale

SetWindowToPlot

SetXData  

Properties

Application

Block

CanonicalMediaName

CenterPlot

ConfigName

Document

GetCanonicalMediaNames

GetLocaleMediaName

GetPlotDeviceNames

GetPlotStyleTableNames

Handle

HasExtensionDictionary

ModelType

Name

ObjectID

ObjectName

OwnerID

PaperUnits

PlotHidden

PlotOrigin

PlotRotation

PlotType

PlotViewportBorders

PlotViewportsFirst

PlotWithLineweights

PlotWithPlotStyles

RefreshPlotDeviceInfo

ScaleLineweights

ShowPlotStyles

StandardScale

StyleSheet

TabOrder

UseStandardScale

ViewToPlot  

Properties

Modified

 

   Comments?