2.2.4.17.14 GraphLayer::GetAxis


Description

Get Axis by dim index

Syntax

Axis GetAxis( int nDim )

Parameters

nDim
[input] axis dim index

Return

Axis

Examples

EX1

void GraphLayer_GetAxis_ex1()
{
    GraphLayer gl = Project.ActiveLayer();
    if( !gl.IsValid() )
        return;

    Axis axis = gl.GetAxis(0);
    
    printf("GetAxis() return valid: %d\n", axis.IsValid());
}

Remark

See Also

Header to Included

origin.h