API Reference > OdDb Classes > OdDbTable Class > OdDbTable Methods > OdDbTable::deleteColumns Method
OdDbTable::deleteColumns Method
Syntax
C++
virtual void deleteColumns(OdUInt32 column, OdUInt32 numColumns = 1);
Parameters 
Description 
OdUInt32 column 
[in] Index of first column to delete.  
OdUInt32 numColumns = 1 
[in] Number of columns to delete. 

Deletes the specified number of columns from this table entity. 

 

Method generates the eInvalidInput exception when the number of deleted columns is more than the number of columns.

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