API Reference > OdDg Classes > OdDgColorTable Class > OdDgColorTable Methods > OdDgColorTable::setExtendedColor Method
OdDgColorTable::setExtendedColor Method
Syntax
C++
static bool setExtendedColor(OdDgDatabase* pDb, OdUInt32 uColorIndex, const OdDgCmColor& dgnColor);
Parameters 
Description 
OdDgDatabase* pDb 
[in] pointer to database.  
OdUInt32 uColorIndex 
[in] Dgn color index of requested color.  
const OdDgCmColor& dgnColor 
[in] Color to set. 

Set extended color to extended color table by dgn color index. Return true if color with requested dgn color index is presented into table and modification of color successfully finished. 

 

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