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

Free Support Forum - aspose.com

Evaluation Only. Created with Aspose.Pdf

creating a new pdf from an excel file caused the following problem (displayed in the image). This only occurs if the excel file has more than one spreedsheet.
Do we need another licence? I can’t find anything about a regulation or limit of the amount of spreedsheets in one excel file on the website.
image.jpg (35.0 KB)


Aspose.Pdf and Aspose.Cells are two separate APIs and you need separate license files for them. However, if you have Aspose.Total license, then you do not need separate license files.

Next thing, you will have to set the license of both APIs using their own License classes i.e.

  • Aspose.Pdf.License
  • Aspose.Cells.License

So, your code will look like this


string licPath = @"F:\Licenses\Aspose.Total.lic";

//This is for Aspose.Pdf license
Aspose.Pdf.License pdfLic = new Aspose.Pdf.License();

//This is for Aspose.Cells license
Aspose.Cells.License cellsLic = new Aspose.Cells.License();