API Reference > OdDb Classes > OdDbSetBasePlotSettingsPE Class > OdDbSetBasePlotSettingsPE Methods > OdDbSetBasePlotSettingsPE::setPlotPaperUnits Method
OdDbSetBasePlotSettingsPE::setPlotPaperUnits Method
Syntax
C++
virtual OdResult setPlotPaperUnits(OdRxObject* pPlotSetObj, OdDbBaseLayoutPE::PlotPaperUnits units) = 0;
Parameters 
Description 
pPlotSettings 
[in] Pointer to the PlotSettings object.  
plotPaperUnits 
[in] Plot paper units. 

Returns eOk if successful or an appropriate error code otherwise.

Sets the plot paper units for the specified PlotSettings object. 

 

The plot paper units determine the units of the margins, offsets, paper size, and drawing units. 

plotPaperUnits must be one of the following: 

 

Name 
Value 
Description 
kInches 
Inches 
kMillimeters 
Millimeters 
kPixels 
Pixels 

 

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