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

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–2021. Open Design Alliance. All rights reserved.