API Reference > OdDb Classes > OdDbLayout Class
OdDbLayout Class
OdDbLayoutOdDbLayoutOdDbLayout
Syntax
C++
class OdDbLayout : public OdDbPlotSettings;

DbLayout.h

This class represents Layout objects in an OdDbDatabase instance.

TD_Db 

 

 
Name 
Description 
 
Constructor (no arguments). 
 
Name 
Description 
 
Returns the Object ID of the viewport that was last active in this Layout object (DXF 331). 
 
Adds this Layout object to the layout dictionary in the specified database, and associates this Layout object with the specified PaperSpace OdDbBlockTableRecord.
 
 
This is annoAllVisible, a member of class OdDbLayout. 
 
This function appends this object to the specified owner object during the deep or wblock clone operation.
 
 
Reads the .dwg file data of this object.
 
 
This is DWGMAP_DECLARE_MEMBERS, a member of class OdDbLayout. 
 
Writes the .dwg file data of this object.
 
 
Reads the DXF data of this object.
 
 
Writes the DXF data of this object.
 
 
Returns the Object ID of the PaperSpace OdDbBlockTableRecord associated with this Layout object (DXF 330). 
 
Returns the maximum extents for this Layout object (DXF 15). 
 
Returns the minimum extents for this Layout object (DXF 14). 
 
This is getGeomExtents, a member of class OdDbLayout. 
 
Returns the insertion base for this Layout object (DXF 12). 
 
Returns the name of this Layout object (DXF 1). 
 
Returns the LIMCHECK variable for this Layout object (DXF 70, bit 0x02). 
 
Returns the maximum limits for this Layout object (DXF 11). 
 
Returns the minimum limits for this Layout object (DXF 10). 
 
Returns the preview image associated with the layout object. 
 
Returns the PSLTSCALE variable for this Layout object (DXF 70, bit 0x01). 
 
Returns the tab order for this Layout object (DXF 71). 
 
Returns true if and only if this layout tab is selected. 
 
Returns an array of OdDbObjectIds of all the OdDbViewports that exist in the Paper Space layout. The first ID in the list will be the overall Paper Space viewport. If the list returned is empty, then this layout is Model Space or has never been switched to (activated). 
 
Returns the Object ID of the overall viewport of this Layout object. 
 
Makes the specified viewport the active viewport of this Layout object (DXF 331).
 
 
This is setAnnoAllVisible, a member of class OdDbLayout. 
 
Associates this Layout object with the specified PaperSpace OdDbBlockTableRecord (DXF 330).
 
 
Sets the maximum extents for this Layout object (DXF 15).
 
 
Sets the minimum extents for this Layout object (DXF 14).
 
 
Sets the insertion base for this Layout object (DXF 12).
 
 
Sets the name of this Layout object (DXF 1).
 
 
Sets the LIMCHECK variable for this Layout object (DXF 70, bit 0x02).
 
 
Sets the maximum limits for this Layout object (DXF 11).
 
 
Sets the minimum limits for this Layout object (DXF 10).
 
 
Sets a new preview image for the layout object.
 
 
Sets the PSLTSCALE variable for this Layout object (DXF 70, bit 0x01).
 
 
Sets the tab order for this Layout Object (DXF 71).
 
 
Controls the selected status for this Layout object.
 
 
Sets the thumbnail bitmap associated with this layout object. 
 
Called as the first operation as this object is being closed, for database -resident objects only. 
 
overridables 
 
Sets the values of this object's subentity traits, and returns with the calling object's subentity traits.
 
 
This is subViewportDraw, a member of class OdDbLayout. 
 
This is subWorldDraw, a member of class OdDbLayout. 
 
Returns the thumbnail bitmap associated with this layout object. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.