I want to insert an image as full page in a word document. The pages of the document have header and footer.
The height of the footer is dynamic; it changes depending on the text we displayed in.
To display the image, I have to specify its height that’s why I need to get the body height of the page. I mean the height without the height of the header and without the height of the footer.
I tried to calculate the body height using these methods:
Thanks for your inquiry. To ensure a timely and accurate response, please attach the following resources here for testing:
Your input Word document
Aspose.Words generated output document showing the undesired behavior
Your expected document which shows the correct output. Please create this document using Microsoft Word application
As soon as you get these pieces of information ready, we’ll start investigation into your issue and provide you code to achieve the same using Aspose.Words. Thanks for your cooperation.
PS: To attach these resources, please zip them and Click ‘Reply’ button that will bring you to the ‘reply page’ and there at the bottom you can include any attachments with that post by clicking the ‘Add/Update’ button.
Best regards,
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.