API Reference > OdDb Classes > OdDbTableContent Class > OdDbTableContent Methods > OdDbTableContent::setColumnWidth Method
OdDbTableContent::setColumnWidth Method
Syntax
C++
virtual void setColumnWidth(OdInt32 nCol, double fWidth);
Parameters 
Description 
OdInt32 nCol 
[in] Column index.  
double fWidth 
[in] Column width. 

Sets the width of the specified column. 

 

Method generates the eInvalidIndex exception when there is no column with specified index in the table.

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