API Reference > OdDb Classes > OdDbColor Class > OdDbColor Methods > OdDbColor::cmColor Method
OdDbColor::cmColor Method
Syntax
C++
const OdCmColor& cmColor() const;

Returns the unnamed color and named color instance specified by the byLayer, byBlock, byColor, byACI, byPen, Foreground, byDgnIndex, None color methods, or name in a book.

Example of Working with the Color Dictionary Object 

Example of Entering and Displaying for Color Objects 

Working with Colors 

OdCmColor class

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