footnoteSeparators property
DocumentBase.footnoteSeparators property
Provides access to the footnote/endnote separators defined in the document.
get footnoteSeparators(): Aspose.Words.Notes.FootnoteSeparatorCollection
Examples
Shows how to remove endnote separator.
let doc = new aw.Document(base.myDir + "Footnotes and endnotes.docx");
let endnoteSeparator = doc.footnoteSeparators.at(aw.Notes.FootnoteSeparatorType.EndnoteSeparator);
// Remove endnote separator.
endnoteSeparator.firstParagraph.firstChild.remove();
Shows how to manage footnote separator format.
let doc = new aw.Document(base.myDir + "Footnotes and endnotes.docx");
let footnoteSeparator = doc.footnoteSeparators.at(aw.Notes.FootnoteSeparatorType.FootnoteSeparator);
// Align footnote separator.
footnoteSeparator.firstParagraph.paragraphFormat.alignment = aw.ParagraphAlignment.Center;
See Also
- module Aspose.Words
- class DocumentBase