2.2.4.2.2 AxisObject::GetAxisTickData


Description

Get axis tick data

Syntax

int GetAxisTickData( vector & arrTicks, int nType = OC_MAJOR )

Parameters

arrTicks
[output] tick data array
nType
[input] tick type
OC_MINOR
OC_MAJOR
OC_SPECIAL

Return

Return ticks count

Examples

EX1

void AxisObject_GetAxisTickData_Ex1()
{
    GraphLayer gl = Project.ActiveLayer();    
 
    AxisObject aoY; //Declare AxisObject
    aoY = gl.YAxis.AxisObjects(AXISOBJPOS_AXIS_FIRST);
 
    vector  arrTicks;
    int nCount = aoY.GetAxisTickData(arrTicks);
    out_int("GetAxisTickData :", nCount);    
}

Remark

See Also

Header to Included

origin.h