auto_SetTemplateΒΆ

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.

bool = auto_SetTemplate(hPage)

Return Value

bool

Parameters

hPage

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