auto_SetTemplate sets a template. This function should be called if the document page was not opened using auto_LoadTemplate. The functions sets some globally used variables, which will be used by other auto_ functions, e. g. auto_LoadDataset.
Return Value
bool
Parameters
hPage is a page handle.
Comment
This function can be used to add more pages to an already existing document.
Example
hPage = AppGetActivePage();
auto_SetTemplate(hPage);
auto_AddPage();
hNewPage = auto_LoadTemplate("MyDocument.ipw", "Page 1")
id-910638