API Reference > OdDb Classes > OdDbTableContent Class > OdDbTableContent Methods > OdDbTableContent::cellStyle Method
OdDbTableContent::cellStyle Method
Syntax
C++
virtual const OdString cellStyle(OdInt32 nRow, OdInt32 nCol) const;
Parameters 
Description 
OdInt32 nRow 
[in] Row index of the cell.  
OdInt32 nCol 
[in] Column index of the cell. 

Returns the cell style as an OdString value. Use a valid row index and pass column index -1 to get the style for a row. Use a valid column index and pass row index -1 to get the style for a column. 

 

Cell style should be one of the following values: 

 

Name 
_TITLE 
_HEADER 
_DATA 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.