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

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

Checks if the color is specified by the block object in which the object is contained (color method of this color is set to "kByBlock", or it is set to "kByACI" and ACI color method is "kACIbyBlock").

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