Loading templates from .NET

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Loading templates from .NET

Postby Silviu73 » Sun Apr 02, 2006 5:52 pm

Dear all,

I''ve been trying to use the .NET component IDEALSoftware.VpeProfessional.dll to load a template to the current document. I was assuming that the .NET component implements the same funcionality as the ActiveX document.

I was looking to use a code sequence like the one below:

VPE.OpenDoc()
tpl = VPE.LoadTemplate("\dycodoc\samples\sample2.tpl")
VPE.DumpTemplate(tpl)
VPE.Preview()

However, although the .NET VpeControl class has a OpenDoc method, it doesn't seem to have a LoadTemplate method.

Please help.

Many thanks,
Silviu
Silviu73
 
Posts: 1
Joined: Sun Apr 02, 2006 5:35 pm

Postby IDEAL Software Support » Mon Apr 03, 2006 4:15 pm

Your are using the Professional Edition, but the Enterprise Edition is required in order to work with templates. The Professional Edition does not have any methods or properties to work with templates.
IDEAL Software Support
 
Posts: 1622
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 61 guests