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

Free Support Forum - aspose.com

Aspose.Cells to PDF doesn't support trimming (C#, .NET)

It seems image trimming is not supported by Aspose when we generate an PDF file based on an xlsx file.

In attachments, you can find an example of xlsx (in the zip file) and 2 screenshot to compare result with pdf generation by Microsoft Word and Aspose

ASPOSE.PNG (38.9 KB)
Word.PNG (42.4 KB)
Xlsx sample.zip (636.0 KB)

@gle

Thanks for using Aspose APIs.

We were able to observe this issue in the output Pdf as per your description and as highlighted in the following screenshot.

We have logged this issue in our database for investigation. We will look into it and fix this issue if possible. Once, the issue is resolved or we have some other news for you, we will share it with you asap.

This issue has been logged as

  • CELLSNET-46046 - Round Images become Square Images in the Output Pdf

Download Link:
18.3.7-output.pdf (76.0 KB)

C#

Workbook wb = new Workbook("sample.xlsx");
wb.Save(CellsHelper.GetVersion() + "-output.pdf");

Screenshot:

@gle

We have looked into this issue further and found, it is a New Feature and not yet supported by Aspose.Cells. Once, this feature is implemented by Aspose.Cells, we will update you in this topic.

@gle,

This is to inform you that we have fixed your issue “CELLSNET-46046” now. We will soon provide the fix after performing QA and including other enhancements and fixes.

The issues you have found earlier (filed as CELLSNET-46046) have been fixed in Aspose.Cells for .NET v18.7. Please also check the document/article for your reference: https://docs.aspose.com/display/cellsnet/Installation