API Reference > OdDg Classes > OdDgGraphicsElement Class > OdDgGraphicsElement Methods > OdDgGraphicsElement::getColor Method
OdDgGraphicsElement::getColor Method
Syntax
C++
virtual ODCOLORREF getColor() const;

details This ones are similar to get/setColorIndex() but use color tables to find/create indexed colors.

They generate eNotApplicable if an element is not connected to any database (that should have color tables) or the color index does not correspond to color tables.

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