I want to dump one page of a template multiple times into a VPE document starting at different positions. Furthermore, this page can cause a autobreak, and should use the default output area (SetDefOutRectSP). The starting position for the first page is not necessarily the same position as the topmargin of the default output area. Is this somehow possible?
A: Make all objects top-margin dependent (or to make at least one object top-margin dependent, and all other objects dependent to each other, so that no object has an absolute coordinate).
Then you can use the following code:
template.Master = false
Doing so, will use the margins of the document where the template is
dumped to, therefore to specifiy the top coordinate (y) of the template, use the following code:
VPE.nTopMargin = y
Afterwards you can call VPE.DumpTemplate().