API Reference > OdDg Classes > OdDgColorTable Class > OdDgColorTable Methods > OdDgColorTable::addExtendedColor Method
OdDgColorTable::addExtendedColor Method
Syntax
C++
static OdUInt32 addExtendedColor(OdDgDatabase* pDb, const OdDgCmColor& newDgnColor);
Parameters 
Description 
OdDgDatabase* pDb 
[in] pointer to database.  
const OdDgCmColor& newDgnColor 
[in] Color to add. 

Add extended color to extended color table. Return dgn color index of new color. 

 

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