Free Support Forum - aspose.com

Evaluation banner in PDF file

I downloaded my permanent license file a week or so ago and it's been working fine with my Aspose.Words file creation, but I tried to generate a PDF yesterday and I received the evaluation banner at the top of the document. I've attached a test doc for your review.

Thanks,

Frank

Hello Frank,

Thanks for considering Aspose.

Do you have the license file for Aspose.Pdf. Aspose.Word and Aspsoe.Pdf have seperate license files(untill or unless you have Aspose.Total license file which contains license for all the major components). Once you have a valid Aspose.Pdf license file, kindly use the following piece of code in solution and it will remove the banner.

Aspose.Pdf.License license = new Aspose.Pdf.License();

license.SetLicense("Aspose.Pdf.lic");

We have an Aspose.Total license. Will your instructions work with that as well?

Hello Frank,

As I already mentioned Aspose.Total is a compilation of most of the Aspose components & Aspose.Total license contains licenses for almost all major components. To use Aspose.Total license for Pdf component use

Aspose.Pdf.License license = new Aspose.Pdf.License();

license.SetLicense("Aspose.Total.lic");

To use Aspose.Total license for Words component use

Aspose.Words.License license = new Aspose.Words.License();

license.SetLicense("Aspose.Total.lic");

For more information kindly visit Licensing

Thanks…it worked perfectly!