UseTemplateMargins

<< Click to Display Table of Contents >>

Navigation:  Template Functions >

UseTemplateMargins

Previous pageReturn to chapter overviewNext page

Retrieves the margin settings from the specified page out of the template and sets the margins of the VPE document correspondingly for the current page only.

This function is useful if you need to copy margin 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.UseTemplateMargins(

TVPETemplate objTemplate,

long page

)

long page

The page of the template whose margins 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