API Reference > OdDb Classes > OdDbSetPlotSettingsPE Class > OdDbSetPlotSettingsPE Methods > OdDbSetPlotSettingsPE::setOrigin Method
OdDbSetPlotSettingsPE::setOrigin Method
Syntax
C++
virtual OdResult setOrigin(OdDbPlotSettings * pPlotSettings, const OdGePoint2d & origin);
Parameters 
Description 
OdDbPlotSettings * pPlotSettings 
[in] Pointer to the PlotSettings object.  
const OdGePoint2d & origin 
[in] Plot origin. 

Returns eOk if successful or an appropriate error code otherwise.

Sets the plot origin for the specified PlotSettings object. 

 

The plot origin is measured with respect to the plot margin. All distances are returned in millimeters, regardless of the drawing units. 

 

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