API Reference > OdDb Classes > OdDbLayout Class > OdDbLayout Methods > OdDbLayout::setActiveViewportId Method
OdDbLayout::setActiveViewportId Method
Syntax
C++
void setActiveViewportId(OdDbObjectId viewportId);
Parameters 
Description 
OdDbObjectId viewportId 
[in] Object ID of the active viewport. 

Makes the specified viewport the active viewport of this Layout object (DXF 331). 

 

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