API Reference > OdDb Classes > OdDbFormattedTableData Class > OdDbFormattedTableData Methods > setAutoScale Method > OdDbFormattedTableData::setAutoScale Method (OdInt32, OdInt32, bool)
OdDbFormattedTableData::setAutoScale Method (OdInt32, OdInt32, bool)
Syntax
C++
virtual void setAutoScale(OdInt32 nRow, OdInt32 nCol, bool bAutoScale);
Parameters 
Description 
OdInt32 nRow 
[in] Row index of the cell.  
OdInt32 nCol 
[in] Column index of the cell.  
bool bAutoScale 
[in] Auto-scaled flag value. 

Sets the auto-scaled flag to 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.