GraphLayer::GetDataMarkers

Description

Get data marker.

Syntax

BOOL GetDataMarkers( int & i1, int & i2 )

Parameters

i1
[output]the index of the data marker beginning point.
i2
[output]the index of the data marker end point.

Return

True for success; otherwise false.

Examples

EX1

//Get data makers' beginning and end points.
void GraphLayer_GetDataMarkers_ex1()
{
    GraphLayer        gl = Project.ActiveLayer();    
    if(gl)
    {            
        int i1,i2;
        if( gl.GetDataMarkers(i1, i2) )
            printf("Data markers begin from %d to %d\n", i1, i2);
        else
            printf("There is not data marker!\n");
    }
}

Remark

See Also

GraphLayer::SetDataMarkers

header to Include

origin.h