【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.1.26.35 tree_get_binary_storage
Contents
Description
Get a TreeNode from a binary storage in an Origin object.
Syntax
bool tree_get_binary_storage( TreeNode & trn, OriginObject & ObjSource, LPCSTR lpcszName )
Parameters
- trn
- [output]tree node to receive the specified binary storage
- ObjSource
- [input]the Origin Object that hold the binary storage
- lpcszName
- [input]pointer to the name of the binary storage
Return
true for success, false for error
Examples
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"); }
Remark
See Also
Header to Include
origin.h