API Reference > OdDb Classes > OdDbTable Class > OdDbTable Methods > OdDbTable::insertColumns Method
OdDbTable::insertColumns Method
Syntax
C++
virtual void insertColumns(OdUInt32 column, double width, OdUInt32 numColumns = 1);
Parameters 
Description 
OdUInt32 column 
[in] Column index.  
double width 
[in] Width of the inserted columns.  
OdUInt32 numColumns = 1 
[in] Number of columns to insert. 

Inserts the specified number of columns into this table entity at the specified column index. 

 

Method generates the eInvalidInput exception when the column argument is more than the number of columns or the width is zero.

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