Licensing
Evaluation Version Limitations
Customers can comprehensively test the Aspose.Drawing Java API before reaching a final decision to make a purchase. However, it’s important to note that the API comes with certain evaluation limitations if used without a license: a watermark is embedded in the output image when a user saves the image.
Apply License using File or Stream Object
The license can be loaded from a file or stream object. The easiest way to set a license is to put the license file in the same folder as the Aspose.Drawing.jar file and specify the file name, without a path, as shown in the example below.
Loading a License from File
The easiest way to apply for a license is to put the license file in the same folder as the Aspose.Drawing.jar file and specify just the file name without a path.
Loading a License from a Stream Object
The following example shows how to load a license from a stream.
Metered License
Aspose.Drawing allows developers to apply a metered key. It is a new licensing mechanism. The new licensing mechanism will be used along with the existing licensing method. Those customers who want to be billed based on the usage of the API features can use the metered licensing. For more details, please refer to Metered Licensing FAQ section.
A new class Metered has been introduced to apply metered key. Following is the sample code demonstrating how to set metered public and private keys.