Use 2 products in the same project

Hello,

I would like to split multipage TIFF file when I detect a bar code on the page.

To do that, we bought 2 products (barcode and imaging). Can you tell me how i can define 2 licences in the same java class (1 project).

Thanks

Hi Vincent,

Thank you for contacting support. You can apply two Aspose product licenses in the same Java class. Please follow up the source code below:

com.aspose.barcode.Licensing.License lic = new com.aspose.barcode.Licensing.License();
lic.setLicense("C:\Aspose.Total.lic");

com.aspose.imaging.license.License license = new com.aspose.imaging.license.License();
license.setLicense("c:\Aspose.Total.lic");

The setLicense methods also can take an input stream of a license file. Please do let me know in case of any confusion or questions.