How to Create a Bookmark in a Word Document using C#? -


i'm making c# program generates word file user inputs , want make create bookmarks in word document.

for example, have table @ top of document have link various parts of document later. want put bookmark paragraph created following code:

string actionname = "foo"; paragraph repairaction = document.content.paragraphs.add(); repairaction.range.text = "1. " + actionname; repairaction.range.bold = 0; repairaction.range.insertparagraphafter(); 

how go making bookmark here? , how link later?

thanks!


Comments