API Reference > OdDb Classes > OdDbFormattedTableData Class > OdDbFormattedTableData Methods > OdDbFormattedTableData::insertColumnAndInherit Method
OdDbFormattedTableData::insertColumnAndInherit Method
Syntax
C++
virtual OdInt32 insertColumnAndInherit(OdInt32 nIndex, OdInt32 nInheritFrom, OdInt32 nNumCols);
Parameters 
Description 
OdInt32 nIndex 
[in] Index.  
OdInt32 nInheritFrom 
[in] Index of the reference column to inherit the format from.  
OdInt32 nNumCols 
[in] Number of inserted columns.  

Starting index of the inserted columns.

Inserts columns at the specified index and inherits the column properties for the inserted columns from the reference column. 

 

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

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