Hi, I am trying to convert Excel to Pdf using Aspose Cells. I have a file, which has 8 columns, when I am converting it, all the columns are getting stacked, and the pdf doesn’t look as expected after conversion. I understand pdf has limited page size, and it is not possible all the time to get the exact conversion. However, I would need the conversion to be correct for most of the files. Is it possible to set the configuration of converted PDF to make sure nothing goes beyond a page?
Methods I have already tried:
PdfSaveOptions pdfOptions = new PdfSaveOptions();
pdfOptions.getAllColumnsInOnePagePerSheet();
pdfOptions.getOnePagePerSheet();
But that doesn’t seems to be working. Please let me know, if there is something else we can do? For reference I am attaching Sample xlsx and converted pdf.
I have already had a look at following links, haven’t find any of them useful.
Any help is much appreciated!