API Reference > OdDb Classes > OdDbPlotSettings Class > OdDbPlotSettings Methods > OdDbPlotSettings::getPlotPaperMargins Method
OdDbPlotSettings::getPlotPaperMargins Method
Syntax
C++
void getPlotPaperMargins(double& leftMargin, double& bottomMargin, double& rightMargin, double& topMargin) const;
Parameters 
Description 
double& leftMargin 
[out] Receives the left margin.  
double& bottomMargin 
[out] Receives the bottom margin.  
double& rightMargin 
[out] Receives the right margin.  
double& topMargin 
[out] Receives the top margin. 

Returns the margins of the paper for this PlotSettings object. 

 

Margins are measured from their respective edges to the plot area and are independent of plot rotation. All distances are returned in millimeters, regardless of the drawing units.

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