Error creating PDF

Hi,

I have created a simple excel workbook. I can save this to XLS format without issue, however when I try to save t to PDF I get a fairly generic error message:

‘Object reference not set to an instance of an object’

The code I’m using is:

Workbook.Save(“D:\\test.pdf”, SaveFormat.pdf);

Any suggestions?

Hi,

Thanks for your posting and using Aspose.Cells for .NET.

Your code is correct and there is no code error, we can see.

Please download and try the latest version: Aspose.Cells
for .NET v7.3.4.2
. It should fix your mentioned issue.

If your issue still occurs, then please provide us your source xls/xlsx file which you are converting to pdf and sample code replicating this issue with the latest version.

We will look into your issue and help you asap.

Thanks.

I have tried installing version 7.3.4

Did'nt see 7.3.4.2 on your download page. Is this an offical release?

Hi,

Thanks for using Aspose.Cells.

Since, both versions are quite recent, so your issue might be replicable on 7.3.4.2 version too. This is actually a minor release and not available on official page.

Anyway, please provide us your source files and sample code. We will soon look into your issue.