Hi
When we convert Excel file to Pdf, some cells borders are losing. Native Excel convertion works fine.
That behavior reproduces at https://products.aspose.app/cells/ru/conversion/xlsm-to-pdf and in code with latest Aspose.Cells.
Sample code:
var loadOptions = new LoadOptions(FileFormatUtil.DetectFileFormat(filename).LoadFormat);
using var workbook = new Workbook(filename, loadOptions);
var saveOptions = new PdfSaveOptions();
var resultFilename = Path.ChangeExtension(filename, “.pdf”);
workbook.Save(resultFilename, saveOptions);
Excel file:
Source.zip (11.9 KB)
Converted file with Aspose:
Dest_Aspose.pdf (26.0 KB)
Converted file with Excel:
Dest_Excel.pdf (155.5 KB)