Hi , I am using word
Automation to export to word . I am getting a exception like ex.message gives :- Command only available in print layout view. ex.stacktrace gives :- at Word.View.set_SeekView(WdSeekView prop) My code is I am trying to add a Image to Header ... oWord.ActiveWindow.ActivePane.View.SeekView = WdSeekView.wdSeekCurrentPageHeader; ...