SetPosition
to set the position of axis object
double SetPosition( int nType, double rPos, BOOL bConvertOnly = FALSE )
Absolute position value
//Set Y axis Object's absolute position value. void AxisObject_SetPosition_Ex1() { GraphLayer gl = Project.ActiveLayer(); AxisObject aoY; //Declare AxisObject aoY = gl.YAxis.AxisObjects(AXISOBJPOS_AXIS_FIRST); double y; y = aoY.SetPosition(AXIS_POS_REAL, 2.5); out_double("Y axis's absolute position value is:", y); }
GetPosition
origin.h