2.2.4.17.34 GraphLayer::SetDataMarkers

Description

Set data marker.

Syntax

BOOL SetDataMarkers( int i1, int i2 )

Parameters

i1
the begin index of data point want to marker.
i2
the end index of data point want to marker.

Return

returns TRUE(1) for success.

Examples

EX1

// Set and get the marker of the active graph layer.
void GraphLayer_SetDataMarkers_ex1()
{
    GraphLayer        gl = Project.ActiveLayer();    
    if(gl)
    {
        gl.SetDataMarkers(1, 3);    
        
        int i1,i2;
        gl.GetDataMarkers(i1, i2);    
    }
}

Remark

See Also

GraphLayer::GetDataMarkers

Header to Include

origin.h