API Reference > OdDb Classes > OdDbLayerStateManager Class > OdDbLayerStateManager Methods > restoreLayerState Method > OdDbLayerStateManager::restoreLayerState Method (OdString&)
OdDbLayerStateManager::restoreLayerState Method (OdString&)
Syntax
C++
OdResult restoreLayerState(const OdString& sName);
Parameters 
Description 
const OdString& sName 
[in] Name of the layer state to be restored.
 

eOk if operation succeeded; error code otherwise.

Restores a layer state from the current database. 

 

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