get info tree from a graph layer by looping through all the data plots in the given layer and find their corresponding workbook info tree
bool page_graph_get_info_tree( GraphLayer gl, TreeNode & trNode )
true for success
EX1
//For this example to run, make sure the active window is a graph window void test_page_graph_get_info_tree() { Tree tr; GraphLayer gl = Project.ActiveLayer(); if(page_graph_get_info_tree(gl, tr)) out_tree(tr); }
origin.h