Licensing

Skip to end of metadata
Go to start of metadata
You can easily download an evaluation version of Aspose.Pdf.Kit from the download page. The evaluation version provides absolutely the same capabilities as the licensed version of the component. Furthermore, evaluation version simply becomes licensed when you add a couple of lines of code to apply the license.
Evaluation Version Limitations

Evaluation version of Aspose.Pdf.Kit for Java (without a license specified) provides full product functionality, but please Note: At top of all pages in the generated Pdf documents are watermarked with "Evaluation Only. Created with Aspose.Pdf. Copyright 2002-2005 Aspose Pty Ltd" as demos run with an Evaluation License.
Note: If you want to test Aspose.Pdf.Ki for Java without evaluation version limitations, you can also request a 30 Day Temporary License. Please refer to How to get a Temporary License?

Setting a License Purchased After 2005/01/22

The license is a plain text XML file that contains details such as the product name, number of developers it is licensed to, subscription expiry date and so on. The file is digitally signed, so don’t modify the file. Even inadvertent adding of an extra line break into the file will invalidate it.
You need to set a license before performing any operations with documents. It is only required to set a license once per application (or process).

The license can be loaded from a stream or file in the following locations:
  1. Explicit path.
  2. The folder that contains Aspose.Pdf.Kit jar.

Important Note: If you use both Aspose.Word,Aspose.Pdf and Aspose.Pdf.Kit, Please specify the namespace for License like the Aspose.Pdf.Kit.License.

[Java]
com.aspose.pdf.kit.License license = new com.aspose.pdf.kit.License();
license.setLicense("Aspose.Pdf.Kit.lic");
 

The following example shows how to load a license from a stream:

[Java]
com.aspose.pdf.kit.License license = new com.aspose.pdf.kit.License();
FileInputStream myStream = new FileInputStream("Aspose.Pdf.Kit.Java.lic");
license.setLicense(myStream);
 
Setting a License Purchased Before 2005/01/22

Aspose.Pdf.Kit for Java doesn't support old licenses anymore so please contact our Sales to get new license file.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.