Skip to end of metadata
Go to start of metadata
Contents Summary

You can use GroupDocs.Annotation without the license. The usage and functionalities are pretty much same as the licensed one but you will face few limitations while using the non-licensed API.

Evaluation Limitations

Following are the limitations user will face while using trial version of the GroupDocs.Annotation API:

  • Only up to 2 first pages of document are processed.
  • Only 15 document views per hour.
  • Only first 3 annotations are saved permanently.
  • Aspose trial badges are placed in the document on the top of each page.


The license file contains details such as the product name, number of developers it is licensed to, subscription expiry date and so on. It contains digital signature, so user is not allowed to modify the file. Even inadvertent addition of an extra line break into the file will invalidate it. You willl need to set a license before utilizing GroupDocs.Annotation API in order to avoid evaluation limitations. However, license can be loaded from a file or stream object.

Applying a License from Disk

Code below will explain how to apply product license.

Applying License from Stream

Code below will explain how to apply license using stream.

Applying Metered License

You can also set Metered license as an alternative to license file. It is a new licensing mechanism that will be used along with existing licensing method. It is useful for the customers who want to be billed based on the usage of the API features. For more details, please refer to Metered Licensing FAQ section.

Following is the sample code demonstrating how to set metered public and private keys.

  • No labels