any idea?
i'm able to create the control at runtime but it display on top, any idea how to do it in footer?
PS: i'm using Office 2007 and .net 2008
thanks
Printable View
any idea?
i'm able to create the control at runtime but it display on top, any idea how to do it in footer?
PS: i'm using Office 2007 and .net 2008
thanks
Eric
What code are you using to create a control?
i'm using Word 2007 template and it got this code in the Startup event
i'm planning to use Ribbon which simply got toggle button so user can choose wether to activate or deactivate it (show image or not) in the template but when i used above code in the toggle button click, it seem can't use the value "missing"..not sure whyCode:foreach (Word.Section wordSection in this.Sections)
{
wordSection.Footers[Word.WdHeaderFooterIndex.wdHeaderFooterPrimary]
.Range.InlineShapes.AddPicture(@"C:\imageresize_1.jpg", ref missing, ref missing, ref missing);
}
any other approach?