API Reference > OdDb Classes > OdDbSetBasePlotSettingsPE Class > OdDbSetBasePlotSettingsPE Methods > OdDbSetBasePlotSettingsPE::setMargins Method
OdDbSetBasePlotSettingsPE::setMargins Method
Syntax
C++
virtual OdResult setMargins(OdRxObject* pPlotSetObj, double left, double Bottom, double right, double top) = 0;
Parameters 
Description 
double left 
[in] Sets the left margin.  
double Bottom 
[in] Sets the bottom margin.  
double right 
[in] Sets the right margin.  
double top 
[in] Sets the top margin. 
pPlotSettings 
[in] Pointer to the PlotSettings object.  

Returns eOk if successful or an appropriate error code otherwise.

Sets the margins of the paper for the specified 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.