API Reference > OdDb Classes > OdDbTable Class > OdDbTable Methods > OdDbTable::setSize Method
OdDbTable::setSize Method
Syntax
C++
void setSize(OdInt32 rows, OdInt32 cols);
Parameters 
Description 
OdInt32 rows 
[in] Number of rows.  
OdInt32 cols 
[in] Number of columns. 

Sets the size for this table entity. 

 

Method generates the eInvalidInput exception when the number of rows or columns is zero.

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