Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbSetPlotSettingsPE::setPlotPaperUnits Method
Syntax
C++
virtual OdResult setPlotPaperUnits(OdDbPlotSettings * pPlotSettings, OdDbPlotSettings::PlotPaperUnits units);

Sets the plot paper units for the specified PlotSettings object. 

 

Parameters
Description
pPlotSettings
[in] Pointer to the PlotSettings object.
plotPaperUnits
[in] Plot paper units.

Returns eOk if successful or an appropriate error code otherwise.

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
0
Inches
kMillimeters
1
Millimeters
kPixels
2
Pixels

 

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