API Reference > OdDb Classes > OdDbViewport Class > OdDbViewport Methods > OdDbViewport::setHeight Method
OdDbViewport::setHeight Method
Syntax
C++
void setHeight(double height);
Parameters 
Description 
double height 
[in] Height. 

Sets the height of this Viewport object (DXF 41).

If this Viewport object is an overall viewport, the values returned by width() and height() must be divided by a factor of 1.058, and the parameters of setWidth and setHeight() must be multiplied by a like factor.

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