API Reference > OdDb Classes > OdDbTableTemplate Class > OdDbTableTemplate Methods > OdDbTableTemplate::createTable Method
OdDbTableTemplate::createTable Method
Syntax
C++
virtual OdResult createTable(OdDbTable* pTable, OdDb::TableCopyOption nCopyOption);
Parameters 
Description 
OdDbTable* pTable 
[out] Pointer to created table.  
OdDb::TableCopyOption nCopyOption 
[in] Specifies which contents are copied while creating a table. 

Returns eOk if successful. Otherwise, returns eInvalidInput.

Creates a table from the specified template contents. 

 

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