API Reference > OdDb Classes > OdDbLayerState Class > OdDbLayerState Methods > OdDbLayerState::hasViewportData Method
OdDbLayerState::hasViewportData Method
Syntax
C++
static bool hasViewportData(OdDbDatabase * pDb, const OdString & layerStateName);
Parameters 
Description 
OdDbDatabase * pDb 
[in] Pointer to the database.  
const OdString & layerStateName 
[in] LayerState name.
 

True if there is viewport data associated with specified LayerState; false otherwise.

Returns true if and only if there is viewport data associated with specified LayerState in the specified database. 

 

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