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

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

Sets the active viewport.

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