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

Free Support Forum - aspose.com

Can't get Header As image

hi,


How Can I get Header As image?

builder.MoveToHeaderFooter(HeaderFooterType.HeaderPrimary);

builder.InsertImage(reportParameters.companyLogo, RelativeHorizontalPosition.RightMargin, 5, RelativeVerticalPosition.Page, 20, 60, 60, WrapType.Through);

builder.InsertImage(reportParameters.clientLogo, RelativeHorizontalPosition.LeftMargin, 10, RelativeVerticalPosition.Page, 20, 60, 60, WrapType.Through);


This is Currently Using Code to get Image as Header, but this is not working as header.
kindly help.
Thanks Regards.
by Narendran
Hi Narendran,

Thanks for your inquiry. To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document and images.
  • Please attach the output Word file that shows the undesired behavior.
  • Please attach your expected output document.
  • Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we'll start investigation into your issue and provide you more information. 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.