API Reference > OdDb Classes > OdDbTable Class > OdDbTable Methods > OdDbTable::insertRowsAndInherit Method
OdDbTable::insertRowsAndInherit Method
Syntax
C++
void insertRowsAndInherit(OdInt32 nIndex, OdInt32 nInheritFrom, OdInt32 nNumRows);
Parameters 
Description 
OdInt32 nIndex 
[in] Index.  
OdInt32 nInheritFrom 
[in] Row number in the table that the format will be inherited from.  
OdInt32 nNumRows 
[in] Number of inserted rows. 

Inserts rows at the specified index and inherits their format from the reference row. 

 

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