API Reference > OdDb Classes > OdDbLinkedTableData Class > OdDbLinkedTableData Methods > OdDbLinkedTableData::insertColumn Method
OdDbLinkedTableData::insertColumn Method
Syntax
C++
virtual OdInt32 insertColumn(OdInt32 nIndex, OdInt32 nNumCols);
Parameters 
Description 
OdInt32 nIndex 
[in] Column index.  
OdInt32 nNumCols 
[in] Number of columns to insert.  

Starting index of the inserted columns.

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

 

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

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