FootnoteSeparatorType

FootnoteSeparatorType enumeration

Specifies the type of the footnote/endnote separator.

public enum FootnoteSeparatorType

Values

NameValueDescription
FootnoteSeparator0Separator between main text and footnote text.
FootnoteContinuationSeparator1Printed above footnote text on a page when the text must be continued from a previous page.
FootnoteContinuationNotice2Printed below footnote text on a page when footnote text must be continued on a succeeding page.
EndnoteSeparator3Separator between main text and endnote text.
EndnoteContinuationSeparator4Printed above endnote text on a page when the text must be continued from a previous page.
EndnoteContinuationNotice5Printed below endnote text on a page when endnote text must be continued on a succeeding page.

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