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

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.