I am using ASPOSE To create word and execl document and setting the license as follow
Aspose.Words.License license = new Aspose.Words.License();
license.SetLicense("Aspose.Total.NET.lic");
Aspose.Cells.License licensecells = new Aspose.Cells.License();
license.SetLicense("Aspose.Total.NET.lic");
While Word document creates ok , excel document is created with evaluation water mark.
Please adivice on fixing this
@chakraal There is a typo in your code. The license is applied for Aspose.Words in both cases, i.e. license
variable is used in both cases. You should modify your code like this:
Aspose.Words.License license = new Aspose.Words.License();
license.SetLicense("Aspose.Total.NET.lic");
Aspose.Cells.License licensecells = new Aspose.Cells.License();
licensecells.SetLicense("Aspose.Total.NET.lic"); // <--- mistake was here
@alexey.noskov. Thanks very much. If fixed the issue.
I am new to using Aspose apprecite your quick help.
1 Like