We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Evaulation banner with license

I am adding a watermark to an existing PDF and am getting the evaulation banner. I have purchased ASPOSE.Total for net and am using the following code

Dim license As Aspose.Pdf.License = New Aspose.Pdf.License

myStream = New System.IO.FileStream(Server.MapPath("~/bin/Aspose.Total.lic"), System.IO.FileMode.Open)

license.SetLicense(myStream)

to set the license as instructed. I am doing this on another page where I am converting uploaded images to a PDF and I do not have the evaulation code on that page so I am wondering what I am doing wrong. BTW, the watermark functionality works fine. It does create the new watermarked image as designed.

Got it. I copied and pasted and needed to change the code to

Dim license As Aspose.Pdf.Kit.License = New Aspose.Pdf.Kit.License

myStream = New System.IO.FileStream(Server.MapPath("~/bin/Aspose.Total.lic"), System.IO.FileMode.Open)

license.SetLicense(myStream)

Thanks