Axis
Default constructor which constructs an unattached Axis.
Copy constructor which constructs an Axis object from an existing Axis.
Axis( )
Axis( const Axis & axis )
EX1
void Axis_ex1() { GraphLayer gl = Project.ActiveLayer(); if ( gl ) { const bool bShow = true; Axis x; // constructs an unattached Axis; x= gl.XAxis; x.AxisObjects(AXISOBJPOS_AXIS_SECOND).TopTicks.Show.nVal = bShow; x.AxisObjects(AXISOBJPOS_LABEL_SECOND).TopLabels.Show.nVal = bShow; gl.GetPage().Refresh(TRUE); } }
EX2
void Axis_ex2() { GraphLayer gl = Project.ActiveLayer(); if ( gl ) { const bool bShow = true; Axis x(gl.XAxis); //Copy constructor which constructs an Axis object from an existing Axis x.AxisObjects(AXISOBJPOS_AXIS_SECOND).TopTicks.Show.nVal = bShow; x.AxisObjects(AXISOBJPOS_LABEL_SECOND).TopLabels.Show.nVal = bShow; gl.GetPage().Refresh(TRUE); } }
AxisObjects
origin.h