API Reference > OdDb Classes > OdDbTable Class > OdDbTable Methods > OdDbTable::setBackgroundColor Method
OdDbTable::setBackgroundColor Method
Syntax
C++
virtual void setBackgroundColor(OdUInt32 row, OdUInt32 column, const OdCmColor& color);
Parameters 
Description 
OdUInt32 row 
[in] Row index of the cell.  
OdUInt32 column 
[in] Column index of the cell.  
const OdCmColor& color 
[in] Background color.
Method generates the eInvalidInput exception when the row type mask is more than 7, the row argument is more than the number of rows, or the column argument is more than the number of columns. 

Sets the background color for the specified cell in this table entity (DXF 63). 

 

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