API Reference > OdDbRoot Classes > OdDbBaseDatabasePE Class > OdDbBaseDatabasePE Methods > OdDbBaseDatabasePE::findLayoutIdByViewport Method
OdDbBaseDatabasePE::findLayoutIdByViewport Method
Syntax
C++
virtual OdDbStub* findLayoutIdByViewport(OdDbBaseDatabase* db, OdDbStub* pViewportId) = 0;
Parameters 
Description 
OdDbBaseDatabase* db 
[in] A pointer to a database.  
OdDbStub* pViewportId 
[in] A viewport identifier. 

Returns a pointer to an identifier of a layout related to a specified viewport from the specified database.

If a layout related to the specified viewport is not found, a NULL pointer is returned.

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