API Reference > OdDbRoot Classes > OdDbBaseDatabasePE Class > OdDbBaseDatabasePE Methods > OdDbBaseDatabasePE::setCurrentLayout Method
OdDbBaseDatabasePE::setCurrentLayout Method
Syntax
C++
virtual void setCurrentLayout(OdDbBaseDatabase* db, const OdString& name) = 0;
Parameters 
Description 
OdDbBaseDatabase* db 
[in] A pointer to a database.  
const OdString& name 
[in] A name of a layout to be set as current. 

Sets the current layout for the specified database. 

 

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