Bookmark insertion using openxml
This topic contains 0 replies, has 1 voice, and was last updated by Manu_TR 8 years ago.
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Home › Forums › WordprocessingML › Bookmark insertion using openxml
This topic contains 0 replies, has 1 voice, and was last updated by Manu_TR 8 years ago.
Hello,
I have start and end character position, is there any good way to insert bookmark into the document using openxml.
Currently we are using word interop to insert bookmark. I need a way to replace it with openxml.
This is the current code:
Range aRange = WordInterop.Range(ref aStart, ref aEnd);
object aRangeObj = aRange;
WordInterop.Bookmarks.Add(BookmarkName, ref aRangeObj);
Thanks in Advance!!
Manu
You must be logged in to reply to this topic.