API Reference > Classes > OdGsIfcLayoutHelper Class > OdGsIfcLayoutHelper Methods > setActiveViewport Method > OdGsIfcLayoutHelper::setActiveViewport Method (OdGePoint2d&)
OdGsIfcLayoutHelper::setActiveViewport Method (OdGePoint2d&)
Syntax
C++
virtual bool setActiveViewport(const OdGePoint2d& screenPt) = 0;
Parameters 
Description 
const OdGePoint2d& screenPt 
[in] A pick point in the device coordinates that defines the viewport.  

Returns true if the new active viewport was successfully set; otherwise, the method returns false.

Sets a new active viewport for the object.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.