GetPosition
get the position of the axis object
double GetPosition( int * pnType = NULL, double * prPos = NULL, int * pnPixel = NULL )
Absolute position value
//Get Y axis Object's absolute position value. void AxisObject_GetPosition_Ex1() { GraphLayer gl = Project.ActiveLayer(); AxisObject aoY; //Declare AxisObject aoY = gl.YAxis.AxisObjects(AXISOBJPOS_AXIS_FIRST); double y; y = aoY.GetPosition(); out_double("Y axis's absolute position value is:", y); }
origin.h