API Reference > Other Classes > OdAbstractViewPE Class > OdAbstractViewPE Methods > OdAbstractViewPE::setViewport Method
OdAbstractViewPE::setViewport Method
Syntax
C++
virtual void setViewport(OdRxObject* pViewport, const OdGePoint2d& lowerLeft, const OdGePoint2d& upperRight) const;
Parameters 
Description 
OdRxObject* pViewport 
[in] Pointer to the Viewport object.  
const OdGePoint2d& lowerLeft 
[in] Lower-left corner.  
const OdGePoint2d& upperRight 
[in] Upper-right corner. 

Sets the corners of the specified Viewport object.

  • point == (0.0, 0.0) corresponds to the lower-left corner of the graphics area.
  • point == (1.0, 1.0) corresponds to the upper-right corner of the graphics area.

Coordinate Systems

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