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

Free Support Forum - aspose.com

How to determine header footers location in each page


We have a requirement to compare header footers of two documents and determining the locations where difference appears. We tried to compute the characters offsets of run nodes but run nodes are visited in a specific order i.e. header, footer and then body of section. But we want the order to be header, body and then footer of each page, the way it appears in PDF.

Please help us to formulate an approach to achieve our requirement.


Hi Manisha,

Thanks for your inquiry. Your question isn’t clear enough therefore we request you to please elaborate your inquiry further. Please attach two sample documents where you want to compare header footers and calculate differences. Also, please tell us about the differences you can manually identify for these two sample documents. This will help us to understand your scenario, and we will be in a better position to address your concerns accordingly.

Best regards,