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

Hi!

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.

Hi,

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.

Hi,


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.
Hi,

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.

Hi,

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

Hi!


Thank you, it works perfectly!

Regards Alex.