Get the value of a variable in a Page's Info section
bool page_get_info_var_value( Page & pg, LPCSTR lpcszVarName, string & strVal, LPCSTR lpcszStorageSection = NULL )
bool page_get_info_var_value( Page & pg, LPCSTR lpcszVarName, double & dVal, LPCSTR lpcszStorageSection = NULL )
If success then true else false
EX1
void Run_page_get_info_var_value_Ex1() { string strVal; Page pg("Book1"); bool bRet = page_get_info_var_value(pg,"var",strVal,"user.var"); }
EX2
void Run_page_get_info_var_value_Ex2() { double dVal; Page pg("Book1"); bool bRet = page_get_info_var_value(pg,"var",dVal,"user.var"); }
page_set_info_var_value
origin.h