API Reference > OdDb Classes > OdDbFormattedTableData Class > OdDbFormattedTableData Methods > setRotation Method > OdDbFormattedTableData::setRotation Method (OdInt32, OdInt32, double)
OdDbFormattedTableData::setRotation Method (OdInt32, OdInt32, double)
Syntax
C++
virtual void setRotation(OdInt32 nRow, OdInt32 nCol, double fRotation);
Parameters 
Description 
OdInt32 nRow 
[in] Row index of the cell.  
OdInt32 nCol 
[in] Column index of the cell.  
double fRotation 
[in] Rotation angle value in radians. 

Sets the zero cell content rotation angle. 

 

Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size. Method generates the eIsWriteProtected when format is not editable (!isFormatEditable()).

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