FootnoteSeparators
DocumentBase.FootnoteSeparators property
Provides access to the footnote/endnote separators defined in the document.
public FootnoteSeparatorCollection FootnoteSeparators { get; }
Examples
Shows how to remove endnote separator.
Document doc = new Document(MyDir + "Footnotes and endnotes.docx");
FootnoteSeparator endnoteSeparator = doc.FootnoteSeparators[FootnoteSeparatorType.EndnoteSeparator];
// Remove endnote separator.
endnoteSeparator.FirstParagraph.FirstChild.Remove();
Shows how to manage footnote separator format.
Document doc = new Document(MyDir + "Footnotes and endnotes.docx");
FootnoteSeparator footnoteSeparator = doc.FootnoteSeparators[FootnoteSeparatorType.FootnoteSeparator];
// Align footnote separator.
footnoteSeparator.FirstParagraph.ParagraphFormat.Alignment = ParagraphAlignment.Center;
See Also
- class FootnoteSeparatorCollection
- class DocumentBase
- namespace Aspose.Words
- assembly Aspose.Words