API Reference > OdDb Classes > OdDbTable Class > OdDbTable Methods > setRotation Method > OdDbTable::setRotation Method (OdInt32, OdInt32, OdInt32, double)
OdDbTable::setRotation Method (OdInt32, OdInt32, OdInt32, double)
Syntax
C++
void setRotation(OdInt32 row, OdInt32 col, OdInt32 nContent, double fAngle);
Parameters 
Description 
OdInt32 row 
[in] Row index of the cell.  
OdInt32 col 
[in] Column index of the cell.  
OdInt32 nContent 
[in] Content index.  
double fAngle 
[in] Rotation angle value in radians. 

Sets the content rotation angle. 

 

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

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