API Reference > Classes > PRC Graphical Classes > OdPrcCategory1LineStyle Class > OdPrcCategory1LineStyle Methods > OdPrcCategory1LineStyle::getColor Method
OdPrcCategory1LineStyle::getColor Method
Syntax
C++
OdPrcColorIndex getColor() const;

Returns the current color index of the line style. Color index is an index in OdPrcFileStructureGlobals.colors() array. Will throw an exception if no color attached.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.