Licensing

Skip to end of metadata
Go to start of metadata
You can easily download an evaluation version of Aspose.BarCode from its 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 purchase a license and add a couple of lines of code to apply the license.
Evaluation Version Limitation

Evaluation version of Aspose.BarCode (without a license specified) provides full barcode generation functionality but it shows an Evaluation Watermark (that is aspose.demo) on the barcode image that can be clearly seen in the figure below:


Evaluation version of Aspose.BarCode recognition library only supports Code39 barcode recognition, however, a full featured demo application is provided for all supported barcode symbologies.

If you want to test Aspose.BarCode 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 in Aspose.BarCode for Java

Specify the license file path to set up a license for java. This method only needs to be called once as long as the application is still running.

[JAVA]
//Place the set license method inside a try block
String licFilePath = "d:\\data\\aspose\\lic\\Aspose.BarCode.lic";
try
{
    // Set license for generating barcode
    com.aspose.barcode.License licBarcode = new com.aspose.barcode.License();
    licBarcode.setLicense(licFilePath);

    // Set license for reading barcode
    com.aspose.barcoderecognition.License licBarcodeRec = new com.aspose.barcoderecognition.License();
    licBarcodeRec.setLicense(licFilePath);
}
catch (Exception ex)
{
    // handle exception
}
 
Recommended place to set the License in the Source Code

The license needs to be set only once per application or per process. For desktop applications, its recommended to set the license in the Initialize() method of the main form.

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