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

Free Support Forum - aspose.com

Excel to Pdf Conversion clips cells

Hi,

the attached Excel File Test with docProps.zip (8.8 KB)
gets converted using this code

        var inputFile = new FileInfo("Documents/Test with docProps.xlsx");
        using var input = inputFile.OpenRead();

        var workbook = new Workbook(input, new LoadOptions(LoadFormat.Auto));

        // row heights have shrunk so content is cut! Reason: Bug in Font Substitution?
        workbook.Save("Out/ExcelWithCutRows.pdf", new CellsPdfSaveOptions());

(Aspose.Cells 21.9.0)

results in this

image.png (1.8 KB)

Best regards

@Horst,

Please make sure that Calibri and Arial fonts are installed on your machine. I did test your scenario/ case using the following sample code and template file, it works fine and the output file (attached) is fine tuned.
e.g.
Sample code:

Workbook workbook = new Workbook("e:\\test2\\Test with docProps.xlsx");
            workbook.Save("e:\\test2\\out1.pdf"); 

out1.pdf (33.2 KB)