Licensing

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

todo:image_alt_text

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

Setting a 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 do not modify the file; even the 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 limitations. You are only required to set a license once per application or process.

The license can be loaded from a file in the following locations:

  1. Explicit path.
  2. Working folder.

Use the License.setLicense method to license the component. Often the easiest way to set a license is to put the license file in the same folder as Aspose.Cells.jar and specify just the file name without path as shown in the following example:

Example

In this example Aspose.Cells will attempt to find the license file in your working folder.

from asposecells.api import License

lic = License()
lic.setLicense("Aspose.Cells.lic")