API Reference > OdDb Classes > OdDbTable Class > OdDbTable Methods > contentColor Method > OdDbTable::contentColor Method (OdInt32, OdInt32, OdInt32)
OdDbTable::contentColor Method (OdInt32, OdInt32, OdInt32)
Syntax
C++
OdCmColor contentColor(OdInt32 row, OdInt32 col, OdInt32 nContent) const;
Parameters 
Description 
OdInt32 row 
[in] Row index of the cell.  
OdInt32 col 
[in] Column index of the cell.  
OdInt32 nContent 
[in] Content index.  

Color of the cell content.

Returns the color of the cell content as an object of the OdCmColor class. 

 

Method generates the eInvalidInput exception when the input row number and column number are less than 0 or greater than the table size.

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