Problem converting Excel to PDF with header and footer

Hi,

if i convert Workbook to PDF having header and footer with line break the resulting pdf doesn’t have any line break in header and footer.

I attached XLSX and PDF for testing.

Code is very simple for testing:

string urlBase = xxxxxx;
Aspose.Cells.License lic = new Aspose.Cells.License();
lic.SetLicense(“Aspose.Total.lic”);
Aspose.Cells.Workbook wb = new Aspose.Cells.Workbook(urlBase);
wb.SaveOptions.SaveFormat = Aspose.Cells.SaveFormat.Pdf;
wb.Save(xxxxxx, wb.SaveOptions);


Is this a bug or do you know any workaround.

Greetings
Christian

Hi,

Thanks for posting your problem.

It could be a bug. Please test your issue with the latest version:
Aspose.Cells
for .NET v7.1.0.4

and let me know your feedback.

Hi,

you are right. Latest release works fine.
Thanks.

Greetings
Christian