GraphLayer::SetShowMarkerLine

 

Description

Set show marker line

Syntax

int SetShowMarkerLine( BOOL bShow, int nIndex, BOOL bVertical = TRUE )

Parameters

bShow
[input] show or hide
nIndex
[input] marker index
bVertical
[input] vertical or horizontal, default:TRUE

Return

0 if success

Examples

EX1

//assume there is a row numbers symbol plot
void GraphLayer_SetShowMarkerLine_ex1()
{
    GraphLayer gl = Project.ActiveLayer();
    if( !gl.IsValid() )
        return;
    
    vector     vPos;
    vPos.Add(1);
    vPos.Add(4);
    gl.SetMarkerLines(vPos, TRUE, TRUE);
    
    int nRet = gl.SetShowMarkerLine(FALSE, 0, TRUE);
    printf("SetShowMarkerLine return: %d\n", nRet);
}

Remark

See Also

GraphLayer::SetMarkerLines

Header to Included

origin.h