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

Free Support Forum - aspose.com

Differing header footer distance from API - despite of same

Hi there,
Attaching two docs, the header footer distance is same in both documents 0.49" but when checking from PageSetup.getHeaderDistance()and PageSetup.
getFooterDistance(), the output appearing is 35.3 and 35.4 for two documents.

Please suggest why this is happening?
Thanks.

Hi Praneeth,

Thanks for your inquiry.

I have tested the scenario and have managed to reproduce the same issue at my side. For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-10056. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi Praneeth,

Thanks for your patience.

It is to inform you that our development team has completed the work on the issue (WORDSNET-10056) and has come to a conclusion that this issue and the undesired behavior you're observing is actually not a bug in Aspose.Words. So, we have closed this issue as 'Not a Bug'.

Please set the measurement unit to Points in MS Word (see MeasurementsUnit.png) and check the MS Word behavior. Aspose.Words mimics the same behavior.