I am testing VpeEnterprise before buying a licence.
I need to display a template multiple times in the document with different coordinates.
I tried the following sample.
http://idealsoftware.com/phpBB2/viewtopic.php?f=4&t=113
- Code: Select all
IDEALSoftware.VpeEnterprise.VpeControl vpe = new IDEALSoftware.VpeEnterprise.VpeControl();
vpe.OpenDoc();
TVPETemplate template = vpe.LoadTemplate("test2.tpl");
template.Master = false;
vpe.nTop = 2.0;
vpe.nTopMargin = 2.0;
vpe.DumpTemplate(template);
vpe.nTop = 4.0;
vpe.nTopMargin = 4.0;
vpe.DumpTemplate(template);
vpe.Preview();
The output displays both templates at the same position.
What's wrong ?
Stephane