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

Free Support Forum - aspose.com

Save First page and Even page headers/footers in pdf-file


When I saved my Aspose.Cells.Workbook in pdf like shown below, only standard headers and footers are saved. All "first page headers" and "even page headers" aren't saved.

Workbook workBook = new Workbook( "Book1.xlsx" );
workBook.Save( "Book1.pdf" );

use SaveFormat not helps

workBook.Save( "Book1.pdf", SaveFormat.Pdf );

Now I use automation as workaround to convert, but it's toooo slow.
Is any way (except automation) to saved "special" headers and footers to pdf?

Regards Alex.


Please test your issue with the latest version:
Aspose.Cells for .NET v7.0.3.6

If the problem persists, then please provide us your source xls/xlsx file.

We will look into it and fix it asap.


Unfortunately, problem still persists.

In attachment:
Book1.xlsx - source file
Book1.pdf - converted by Cells.Workbook
Book1(automation).pdf - converted by com-automation

Regards Alex.

I can find the issue as you have mentioned. It looks like the First / Even or Odd page headers are not supported while rendering to PDF file. I have logged a ticket for it with an id: CELLSNET-40181. We will look into it soon.

Thank you.


We have fixed this issue. Please download: Aspose.Cells for .NET v7.0.4


Thank you, it works perfectly!

Regards Alex.