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 -

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

ruby on rails - Authlogic - how to make a registration and don't log in the new account? -