Rank: Newbie Groups: Member
Joined: 10/14/2015 Posts: 7
|
I am running EO.Total (2017) and have purchased a license key.
My application copies a Pdf that is used as a template and populates form fields in the copy. I call the "AddLicense" function from the Page_Load event if it's not a post back:
if (!Page.IsPostBack) { EO.Pdf.Runtime.AddLicense(....); }
The majority of the time everything works fine however now and then the "Created with EO.Pdf for .NET trial version" text appears in the bottom of the pdf.
I notice this occurs more often if I quickly create several pdfs one after the other.
How can I consistently remove the "Created with EO.Pdf for .NET trial version" text?
Thanks, Bill
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
You do not need any condition for EO.Pdf.Runtime.AddLicense. Just call it every time in your Page_Load and you should be all set.
Another place to call it is in your Global class's Application_Start event handler. If you call it there, you do not need to call in your Page_Load --- but if you call it in Page_Load, you need to call it on every Page_Load, not under an if condition.
Thanks!
|