Method CrossReferenceNotes
CrossReferenceNotes(WordDocument, NoteKind)
The notes of a kind Word's dialog lists: their numbered reference marks in the body, in document order.
public static IReadOnlyList<NoteRef> CrossReferenceNotes(this WordDocument document, NoteKind kind)
Parameters
documentWordDocumentThe document.
kindNoteKindFootnotes or endnotes.
Returns
- IReadOnlyList<NoteRef>
The reference marks.
Exceptions
- ArgumentNullException
documentis null.