Last post Oct 26, 2010 04:51 AM by sahajMarg
Oct 26, 2010 02:27 AM|sahajMarg|LINK
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#
Oct 26, 2010 04:31 AM|nmreddy83|LINK
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.
Oct 26, 2010 04:51 AM|sahajMarg|LINK
I am adding image to header in docx file.