API Reference > OdDb Classes > OdDbViewportTableRecord Class > OdDbViewportTableRecord Methods > OdDbViewportTableRecord::setUpperRightCorner Method
OdDbViewportTableRecord::setUpperRightCorner Method
Syntax
C++
void setUpperRightCorner(const OdGePoint2d& point);
Parameters 
Description 
const OdGePoint2d& point 
[in] Upper-right corner. 

Sets the upper right corner of this Viewport (DXF 11). 

 

  • 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.
Copyright © 2002–2020. Open Design Alliance. All rights reserved.