<< Click to Display Table of Contents >> VpeUseTemplateMargins |
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.
void VpeUseTemplateMargins(
VpeHandle hDoc,
VpeHandle hTemplate,
int page
)
VpeHandle hDoc
Document Handle, the margins of this document will be set
VpeHandle hTemplate
Template Handle
int page
The page of the template whose margins shall be retrieved, may be in the range of
0 (= first page) to VpeGetTplPageCount() - 1 (= last page).
"dycodoc Template Processing" in the Programmer's Manual