Get page template name
string page_get_template_name( Page pg, bool bAddExt = true )
return the template name, return empty string on failure.
EX1
void page_get_template_name_ex1() { Layer ly = Project.ActiveLayer(); if ( ly ) { Page pg = ly.GetPage(); string strTplName = page_get_template_name(pg, true); out_str("Template name of the active page is : " + strTplName); } }
origin.h