add to TreeNode the X and Y dataset names of the given curve
bool set_curve( const curvebase & cuv, TreeNode & trNode )
TRUE if success
EX1
//This example show the info. of the curve. //For this sample to work, a dataset should exist. #include <tree_utils.h> void set_curve_ex1() { Worksheet wks = Project.ActiveLayer(); if(wks) { Curve crvPlotted( wks, 1 ); Tree trNode; if(crvPlotted) { bool bOK = set_curve(crvPlotted, trNode); if(bOK) { out_tree(trNode); } } } }
set_active_layer
origin.h