c# - Get All Bookmarks from Word Document -


i've been looking around solution little while now.

i need extract bookmarks word document can manipulate them please. guess need reference them rather actual bookmarks.

what i've found far solutions need search names of bookmarks want references bookmarks. might not know names @ times. thought bookmarks calling mydocument.bookmarks far still haven't figured out how work property.

if extract bookmarks template, names won't change. if take bookmarks unknown document, have no idea how references.

any help?

foreach (bookmark bookmark in document.bookmarks) {     // whatever want bookmark. } 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -