StyleHolder::GetPlotId

Description

get the Origin internal plot id.

Syntax

int GetPlotId( BOOL bBaseID = FALSE )

Parameters

bBaseID
[input]TRUE if we only care about the graph category, such than line,scatter and line symbol plots will all return IDM_PLOT_LINESYMB

Return

The plot type

Examples

EX1

void StyleHolder_GetPlotId_ex1()
{
    GraphLayer     gl = Project.ActiveLayer();
    if(gl)
    {
        StyleHolder sh = gl.StyleHolders(0);
        out_int("plot type is ", sh.GetPlotId());
    }
}

Remark

See Also

header to Include

origin.h