locked
How to generate header and add image to the header RRS feed

  • Question

  • User332559773 posted

    Hello,

    I have some code which adds image to the document body but now the requirement is to add the image as part of the header. To do that I used Open XML SDK 2.0 productivity tool and gave the source as the file without the header and gave the target of file with the header. It created a long ...long code for me..it did work earlier but now giving some issues.

    I was wondering isn't there any simple and small lines of code to generate header and add image to the header?...or the only choice it so use this tool?

    Also I am using VS 2008 and the language is C#

    Kindly advice.

    Thanks,
    Navpreet

    Tuesday, October 26, 2010 2:27 AM

All replies

  • User-1814013008 posted

    If yo want to add in aspx page header, you can have ContentPlaceHolder in master page / can have head runat=server.

    If you are trying in any office documents, much details on the issue will be appreciated.

     

    -thank you

    Tuesday, October 26, 2010 4:31 AM
  • User332559773 posted

    I am adding image to header in docx file.


    Tuesday, October 26, 2010 4:51 AM