API Reference > OdDb Classes > OdDbTable Class > OdDbTable Methods > OdDbTable::canInsert Method
OdDbTable::canInsert Method
Syntax
C++
bool canInsert(OdInt32 nIndex, bool bRow) const;
Parameters 
Description 
OdInt32 nIndex 
[in] Index.  
bool bRow 
[in] Flag that indicates what to check: "true" for rows or "false" for columns.  

True if new rows or columns can be inserted into the specified index; false otherwise.

Checks if new rows or columns can be inserted into the specified index. Returns true if rows or columns can be inserted. 

 

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