Aspose.Cells - Problems saving to PDF format

Hello.

I have a XLSX file that has a sheet with page scaling of 75%. When I open it with Aspose.Cells and then save to PDF format, the result is quite different from the original:

- Spaces inside phrases disappear.
- Phrases get cut.
- Some borders disappear

But, If I open that same file in Microsoft Excel, in a client machine, and then save it to PDF Format, the result is fine.

I would appreciate any help on solving this.

Thank you.

Ricardo Coimbras

Hi,

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

Please download and use the latest version:

Aspose.Cells for .NET 7.3.2

It should fix your problem.

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

Please also try the following code to see if it resolves your error.

C#


string filePath = @“F:\Shak-Data-RW\Downloads\source.xlsx”;


Workbook workbook = new Workbook(filePath);


PdfSaveOptions opts = new PdfSaveOptions();

opts.OnePagePerSheet = true;


workbook.Save(filePath + @“.out.pdf”, opts);