API Reference > OdDb Classes > OdDbLinetypeTable Class
OdDbLinetypeTable Class
OdDbLinetypeTableOdDbLinetypeTableOdDbLinetypeTable
Syntax
C++
class OdDbLinetypeTable : public OdDbSymbolTable;

DbLinetypeTable.h

 

This class implements the linetype table object, which represents a container for storing and accessing of linetype record objects in the database. This class inherits the base functionality of predefined tables.

TD_Db 

Example of Working with the Linetype Table Object 

Example of Working with the Linetype Record Object 

Working with Linetypes 

OdDbLinetypeTableRecord class

 
Name 
Description 
 
Builds an instance of the linetype table object.
Applications typically will not use this constructor, insofar as the database object creates own instance of the linetype table. The linetype table object exists in the database a prior. 
 
Name 
Description 
 
add 
Adds an instance of the linetype record object in the container of the linetype table object. This method is inherited from the OdDbSymbolTable class which is base class for all predefined tables. For more details, see: OdDbSymbolTable::add() method. 
 
Reads the .dwg file data of this object.
 
 
This is DWGMAP_DECLARE_MEMBERS, a member of class OdDbLinetypeTable. 
 
Writes the .dwg file data of this object.
 
 
Writes the DXF format data of this object to the specified filer.
 
 
This is the overview for the getAt method overload. 
 
Returns the Object ID of the predefined linetype record object assigned as "ByBlock" linetype in the database. 
 
Returns the Object ID of the predefined linetype record object assigned as "ByLayer" linetype in the database. 
 
has 
This is the overview for the has method overload. 
 
Creates an instance of the linetype iterator object which is the bidirectional iterator for traversing through linetype record objects in the container of the linetype table object. This method is inherited from the OdDbSymbolTable class which is base class for all predefined tables. For more details, see: OdDbSymbolTable::newIterator() method. 
 
overridables 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.