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