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

css - Text drops down with smaller window -

php - Boolean search on database with 5 million rows, very slow -

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