Set a section into an OriginObject's Info.
bool info_set_section( OriginObject & obj, TreeNode & trSection, LPCSTR lpcszStorageSection )
If success then true else false
EX1
void info_set_section_ex1() { Tree trSection; trSection.user.Name.strVal = "Joe"; trSection.user.var.nVal = 1; Page pg = Project.Pages(); // get active page bool bRet = info_set_section(pg, trSection, "User.Variables"); if ( bRet ) out_str("Section info updated successfully."); }
info_get_section
origin.h