API Reference > OdCm Classes > OdCmColor Class > OdCmColor Methods > OdCmColor::isByLayer Method
OdCmColor::isByLayer Method
Syntax
C++
virtual bool isByLayer() const;

true if the color method of this color is set to "kByLayer", or if it is set to "kByACI" and ACI color method is "kACIbyLayer", false - otherwise.

Checks if the color is specified by the layer object on which the object resides (color method of this color is set to "kByLayer", or it is set to "kByACI" and ACI color method is "kACIbyLayer").

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