Get a TreeNode from a binary storage in an Origin object.
bool tree_get_binary_storage( TreeNode & trn, OriginObject & ObjSource, LPCSTR lpcszName )
true for success, false for error
EX1
// To see the results, please import some files and make window active first; //for example, import *.dat file into worksheet. void tree_get_binary_storage_Ex1() { Page pg = Project.Pages(); Tree tr; if(tree_get_binary_storage(tr, pg, "Files")) out_tree(tr); else out_str("not found"); }
tree_put_binary_storage
origin.h