DocX
DocX copied to clipboard
Can't find bookmarks in word file. DocX
Can't find bookmarks in word file. The code throw Null reference exception when I write
DocX document = DocX.Load("Kart_KART_MUQAVILE_ELAVE_N_1 (1).docx"); Bookmark b = document.Bookmarks[0];
Note that the word document has two or more bookmarks
Hi,
Can you attach your docx so we can analyse it ? If you run the LiveExplorer, in the Bookmark samples, this should work. This is probably a problem on how Bookmarks are added to the ooxml of your document.
Thank you.