API Reference > OdDb Classes > OdDbSetPlotSettingsPE Class > OdDbSetPlotSettingsPE Methods > OdDbSetPlotSettingsPE::setPlotPaperUnits Method
OdDbSetPlotSettingsPE::setPlotPaperUnits Method
Syntax
C++
virtual OdResult setPlotPaperUnits(OdDbPlotSettings * pPlotSettings, OdDbPlotSettings::PlotPaperUnits units);
Parameters 
Description 
OdDbPlotSettings * 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.