Document.endnoteOptions property. Provides options that control numbering and positioning of endnotes in this document....EndOfDocument", // every footnote will show up in a collection..."EndnotePosition.EndOfSection", // every footnote will show up in a collection...