API Reference > OdDb Classes > OdDbLayerTableRecord Class > OdDbLayerTableRecord Methods > OdDbLayerTableRecord::colorIndex Method
OdDbLayerTableRecord::colorIndex Method
Syntax
C++
OdInt16 colorIndex() const;

Returns the color index for the layer record object (DXF 62). When the color method is set to byColor, this method returns an equivalent color index.

Example of Working with the Layer Record Object 

Specific Properties of Layers 

OdDbLayerTableRecord::setColorIndex() method

Copyright © 2002–2020. Open Design Alliance. All rights reserved.