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

Free Support Forum - aspose.com

Converting graphs to PDF using Aspose.Cells for .NET in C#

Hi,

I'm trying to convert an XLS file that includes a graph sheet into PDF.

The problem is that the graph turns to be partially black.

Checking the bitmap that the Aspose.Cells generated - it looks fine... but when binding it into a PDF doc - it turns black.

See the attached XLS file...

Please help.

Rotem.

Hi,

Thanks for providing us the template excel file.

It looks the issue is related to Aspose.Pdf as the chart's image is generated fine and also documented in .xml file (Aspose.Pdf integrated file).

Anyways, we will further look into it soon.

Thank you.

Dear Rotem,

I am the developer of Aspose.Pdf responsible for this issue, sorry for convenience. I will investigate it and update you with the status soon.

BRs

Dear Rotem,

We have logged it as PDFNET-6053 in our defects database. I will resolve it ASAP. Thanks for considering Aspose.

BRs

Dear Rotem,

Please try this Aspose.Cells fix.

We have fixed this bug.

When I tried to replace the DLL file in the .NET1 folder, I got a NULL exception.

When I tried to replace the file in the .NET2 folder - I got a PDF result with the same problem described above...

Dear Rotem,

I have tried the DLL but cannot reproduce the problem you said. Please check again or provide the code you used so that we can investigate it better. Thanks.

BRs

I've upgraded Cells with 4.5.1 hot fix, and now it works like magic!

Thanks a lot.

- Rotem