API Reference > OdDg Classes > OdDgColorTable Class > OdDgColorTable Methods > OdDgColorTable::lookupTrueColor Method
OdDgColorTable::lookupTrueColor Method
Syntax
C++
static OdDgCmEntityColor lookupTrueColor(const OdDgDatabase* pDb, OdUInt32 colorIndex);

use the color tables of the given database to search for the color (either ordinary or extended ones); returns zero if fails (+the method to check indices)

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