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

Free Support Forum - aspose.com

Xlsx to pdf conversion output file size exceed

hi
how can i set pages for formatted print setup.in the excel data is not fitted in one page it exceed page size so is there any option before converting pdf system will fit into the page and convert into pdf.auto adjust option is there.



Hi there,


Thank you for contacting Aspose support.

You may use PdfSaveOptions.OnePagePerSheet property for your requirements. Please note, when the aforementioned property is set to true, Aspose.Cells APIs try to render all contents of the Worksheet to single PDF page. In case this solution is not acceptable, please share the source spreadsheet along with PDF document generated with Aspose.Cells APIs for further investigation. It would be appropriate that you should also share some screenshots where text is not fitting the set paper size.