Licensing

Skip to end of metadata
Go to start of metadata
You can easily download an evaluation version of Aspose.Cells 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 Limitations

Evaluation version of Aspose.Cells product (without a license specified) provides full product functionality, but it is limited to open 100 files in one program and an extra worksheet with evaluation watermark.

The limitations are shown below:

1st Limitation: Number of Opened Files

When running your program, you can only open 100 Excel files. If your application exceeds this number, an exception will be thrown.

2nd Limitation: Worksheet with Evaluation Watermark

This worksheet will always show as the active worksheet. Only in licensed version, you can set the active worksheet to other worksheets.

Note: If you want to test Aspose.Cells without evaluation version limitations, you can also request a 30 Day Temporary License .

Setting License

The license is a plain text XML file that contains details such as the product name, number of developers it is licensed to, subscription expiry date and so on. The file is digitally signed, so don't modify the file. Even inadvertent addition of an extra line break into the file will invalidate it.

You need to set a license before utilizing Aspose.Cells if you want to avoid its evaluation limitation. It is only required to set a license once per application (or process). The license can be loaded from a file or a stream.

Following are the methods to set the license:

Using File or Stream

The easiest way is to put the license file in the Working directory and specify just the file name.

Example:

[Java]
//Instantiate an instance of license and set the license file through its path
License license = new License();
license.setLicense("Aspose.Cells.lic");
 

Note: When you call setL icense method, the license name should be same as that of your license file name. For example, you may change the license file name to "Aspose.Cells.lic.xml". Then in your code, you should use the modified license name (that is Aspose.Cells.lic.xml) for the SetLicense method.

It is also possible to load a license from a stream.

Example:

[Java]
//Instantiate an instance of license and set the license through a stream
License license = new License();
license.setLicense(myStream);
 
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.