Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbSetPlotSettingsPE::setMargins Method
Syntax
C++
virtual OdResult setMargins(OdDbPlotSettings * pPlotSettings, double left, double Bottom, double right, double top);

Sets the margins of the paper for the specified PlotSettings object. 

 

Parameters
Description
pPlotSettings
[in] Pointer to the PlotSettings object.
left
[in] Sets the left margin.
Bottom
[in] Sets the bottom margin.
right
[in] Sets the right margin.
top
[in] Sets the top margin.

Returns eOk if successful or an appropriate error code otherwise.

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