Sometimes, to study the system better, you want to dive into the code as fast as possible. To make this easier, GroupDocs.Comparison provides different purchase plans or offers a Free Trial and a 30-day Temporary License for evaluation.
Note
Note that there are several general policies and practices that guide you on how to evaluate, properly license, and purchase our products. You can find them in the “Purchase Policies and FAQ” section.
Free Trial or Temporary License
You can try GroupDocs.Comparison without buying a license.
Free Trial
The evaluation version is the same as the purchased one – the evaluation version simply becomes licensed when you set the license. You can set the license in a number of ways that described in the next sections of this article.
The evaluation version comes with the limitations:
Only first 2 pages can be processed.
Trial badges are placed in the document on the top of each page.
Temporary License
If you wish to test GroupDocs.Annotation without the limitations of the trial version, you can also request a 30-day Temporary License. For details, see the “Get a Temporary License” page.
After getting the license, you need to set it. This section describes different ways to set the license.
The license should be set:
Only once per application domain.
Before using any other of GroupDocs.Annotation classes.
Note
The license can be set multiple times per application domain but we recommend doing it once since all calls to setLicense except first will just waste processor time.
Set License from File
The following code snippet shows how to set a license from file:
You can also set the 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 details, please refer to the Metered Licensing FAQ section.
The following code snippet shows how to use Metered licensing:
StringpublicKey="";// Your public license key
StringprivateKey="";// Your private license key
Meteredmetered=newMetered();metered.setMeteredKey(publicKey,privateKey);// Get amount (MB) consumed
doubleamountConsumed=Metered.getConsumptionQuantity();System.out.println("Amount (MB) consumed: "+amountConsumed);// Get count of credits consumed
doublecreditsConsumed=Metered.getConsumptionCredit();System.out.println("Credits consumed: "+creditsConsumed);
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.