2.1.14.1.7 gpage_get_plots


Description

Get Graphpage's DataPlots contents into a tree

Syntax

int gpage_get_plots( const GraphPage & pg, TreeNode & tr )

Parameters

pg
[input] the Graph page to get the contents from
tr
[output] Tree to retrive the contents

Return

If success then return the plot type for the next added plot, or return 0 if error

Examples

EX1

void Run_gpage_get_plots()
{    
    Tree tr;
    GraphPage gp("graph1");
    int nRet = gpage_get_plots(gp,tr);
    out_tree(tr);
}

Remark

See Also

Header to Include

origin.h

Reference