Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbSetPlotSettingsPE::setPlotPaperSize Method
Syntax
C++
virtual OdResult setPlotPaperSize(OdDbPlotSettings * pPlotSettings, double paperWidth, double paperHeight);

Sets the size of the paper for the specified PlotSettings object. 

 

Parameters
Description
pPlotSettings
[in] Pointer to the PlotSettings object.
paperWidth
[in] Sets the paper width.
paperHeight
[in] Sets the paper height.

Returns eOk if successful or an appropriate error code otherwise.

Paper size is the physical paper size and includes margins. All distances are returned in millimeters, regardless of the drawing units. 

 

Copyright © 2002-2022. Open Design Alliance All rights reserved.