API Reference > OdDb Classes > OdDbSetBasePlotSettingsPE Class > OdDbSetBasePlotSettingsPE Methods > OdDbSetBasePlotSettingsPE::setPlotPaperSize Method
OdDbSetBasePlotSettingsPE::setPlotPaperSize Method
Syntax
C++
virtual OdResult setPlotPaperSize(OdRxObject* pPlotSetObj, double paperWidth, double paperHeight) = 0;
Parameters 
Description 
double paperWidth 
[in] Sets the paper width.  
double paperHeight 
[in] Sets the paper height. 
pPlotSettings 
[in] Pointer to the PlotSettings object.  

Returns eOk if successful or an appropriate error code otherwise.

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

 

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

 

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