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

Free Support Forum - aspose.com

Can we create different header for different pages

Team,


I am trying to create a pdf that has different headers.

1. First Page Header,
2. Last Page Header.
3. Genereal Headers

All through an XML,.

Below is the sample xml code i am using…

Hello

header for first page

Middle Page header

Please let me know if there is a way , where i can create different header for different pages ?

Hi there,


Thanks for your inquiry. You can set different header/footer for difference pages. Please check following documentation link for the purpose. Hopefully it will serve the purpose. Otherwise please share some more details about your requirements, a desired sample PDF document will be very helpful.


Best Regards,