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

Sets the cell style. Use a valid row index and pass column index -1 to set the style for a row. Use a valid column index and pass row index -1 to set the style for a column. 

 

Cell style should be one of the following values: 

 

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