API Reference > OdDb Classes > OdDbFormattedTableData Class > OdDbFormattedTableData Methods > setTextHeight Method > OdDbFormattedTableData::setTextHeight Method (OdInt32, OdInt32, OdInt32, double)
OdDbFormattedTableData::setTextHeight Method (OdInt32, OdInt32, OdInt32, double)
Syntax
C++
virtual void setTextHeight(OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, double fTextHeight);
Parameters 
Description 
OdInt32 nRow 
[in] Row index of the cell.  
OdInt32 nCol 
[in] Column index of the cell.  
OdInt32 nContent 
[in] Content index.  
double fTextHeight 
[in] Text height value. 

Sets the text height of the specified content of a cell. 

 

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.