UseTemplateSettings

<< Click to Display Table of Contents >>

Navigation:  Template Functions >

UseTemplateSettings

Previous pageReturn to chapter overviewNext page

Retrieves the whole page settings (page dimensions, margins, orientation, paper bin) from the specified page of the template and sets them correspondingly in the VPE document for the current page only.

This function is useful if you need to copy page settings from a template to a page of a VPE document, e.g. because you create some pages in addition to the template by code using the VPE API.

method void VPE.UseTemplateSettings(

TVPETemplate objTemplate,

long page

)

long page

The page of the template whose page settings shall be retrieved, may be in the range of
0 (= first page) to PageCount - 1 (= last page).

 

See also:

"dycodoc Template Processing" in the Programmer's Manual