We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to see if aspose.cells IsLicensed as Boolean?

Hello,


is possible to see if aspose.cells license isLicensed using the same way that are used on Aspose.Words.License or Aspose.email.License

Public ReadOnly Property IsLicensed As Boolean

Hi,

Thanks for your query.

Well, yes you may determine if a license is set of not by using Workbook.IsLicensed Boolean attribute, see the document for your reference:
Determining if the License is loaded successfully

Hope, this helps a bit.

Thank you.

Hi again,


MyUserName:

For the latest Aspose.Pdf what is the way?

I’m unable to find IsLicensed on Aspose.Pdf.Document

Here is the documentation

Determine if license is applied

If a license is not applied, an evaluation watermark appears in resultant file. However before the resultant file is saved, you may have a requirement to determine if a license is properly instantiated. In order to accomplish this requirement, a static read-only property named IsLicensed is added in Document class.

// determine if the API is licensed
if (Document.IsLicensed)
{
// print message that license is applied
Console.WriteLine(“Licensed”);
}


Regarding your comments as quoted above, we have split the existing thread to create a new one on your behalf in Aspose.Pdf support forum. You may follow up on this thread for further communications in this regard. Please feel free to post in Aspose.Cells support forum in case you have any concerns related to Aspose.Cells APIs.