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

Cell alignment for the specified cell.

Returns the cell alignment for the specified cell in this table object. 

 

alignment() returns one of the following: 

 

Name 
Value 
OdDb::kTopLeft 
OdDb::kTopCenter 
OdDb::kTopRight 
OdDb::kMiddleLeft 
OdDb::kMiddleCenter 
OdDb::kMiddleRight 
OdDb::kBottomLeft 
OdDb::kBottomCenter 
OdDb::kBottomRight 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.