Hi,
I used the 19.3.0 .net version of aspose.cells to convert a workbook to a PDF. The workbook we’re loading has the page setup properties to fit to a single page in landscape.
var workbookStream = new FileStream("TestFitToPage.xlsx", FileMode.Open);
var workbook = new Workbook(workbookStream);
var saveOptions = new PdfSaveOptions() { };
workbook.Save(@"AsposeConversion.pdf", saveOptions);
If you compare the output to AsposeConversion.pdf and ExcelConversion.pdf, you can see that aspose is cutting off data in the last column and outputs less data than when you try to save the workbook as a pdf natively in excel. It looks like aspose is only taking into account the column width, but excel shows the overflowing data as long as there isn’t more data to the right of that cell.
TestFitToPage.zip (87.3 KB)