Save FileFormatType.Pdf Very Bad Quality

I am experiencing bad quality PDF file when I try to export the formated Excel file (generated using Aspose cells.).

I am using Aspose cells version 4.7.01 to convert Excel to Pdf.

The font sizes are different and it doesn't save any of the page setup settings that are saved in Excel.

I want to generate the exact output as in Excel onto pdf.

Please advise.

Thanks

Hello suneetha,

Thanks for considering Aspose.

Can you please share how you are converting the Excel worksheet into PDF format

  • Using the direct method of Aspose.Cells to save the worksheet directly into PDF format
  • or Using the conventional method in which Aspose.Cells and Aspose.Pdf are used.

More along, can you please share the resource excel worksheet so that we can test the scenario.

We apologize for your inconvencie.

Workbook workbook = new Workbook();

workbook.Open("c:\\Marks.xls");

workbook.Save("c:\\Marks.pdf", FileFormatType.Pdf);

I am using the above snippet code to convert.

Result of the pdf file is screwing all the page setup and formatting.

It happens with all the excel files

Hello suneetha,

As far as I can see, you are using direct to PDF conversion method of Aspose.Cells to convert the excel worksheet into PDF format, so the issue is related to Aspose.Cells. For the sake of correction I’m moving this thread to Aspose.Cells forum and I believe our team of experts taking care of that product would be kind enough to figure out a solution to this problem.

Your patience and understanding is greatly appreciated in this regard.

Hi Suneetha,

Could you try the attached version v4.7.1.23 if your issue(s) are resolved. We have introduced some new enhancement for the conversion (Excel2Pdf) in the recent versions.

If you still find any issue, kindly post your template excel file here, we will check it soon.

Thank you.