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

Sets the text height of the zero 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–2020. Open Design Alliance. All rights reserved.