Get a section from an OriginObject's Info.
bool info_get_section( OriginObject & obj, TreeNode & trSection, LPCSTR lpcszStorageSection )
If success then true else false
EX1
void info_get_section_ex1() { Page pg = Project.Pages(-1); // get active page Tree trSection; if( info_get_section(pg, trSection, "User.Variables") ) { out_tree(trSection); } else out_str("Not found User.Variables section"); }
info_set_section
origin.h