2.2.4.2.1 AxisObject::AxisObject

Description

Default constructor which constructs an unattached AxisObject.


Copy constructor which constructs an AxisObject from an existing AxisObject.

Syntax

AxisObject( )


AxisObject( const AxisObject & ao )

Parameters

ao

Return

Examples

EX1

int AxisObject_Ex1()
{
	GraphLayer gl = Project.ActiveLayer();
  	Axis x(gl.XAxis);

  	//Copy constructor which constructs an AxisObject from X bottom axis.
	AxisObject Ao(x.AxisObjects(AXISOBJPOS_AXIS_FIRST));
	if(Ao)
	{
		Ao.BottomTicks.Show.nVal = true;
		return 1;
	}
	return 0;
}

Remark

See Also

Axis::AxisObjects

Header to Include

origin.h