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

True if the specified layer state has viewport data, meaning that the layer state was saved using some viewport and could use viewport overrides; false otherwise.

Checks if a specified layer has viewport data. 

 

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