Item

FootnoteSeparatorCollection indexer

Retrieves a FootnoteSeparator of the specified type.

public FootnoteSeparator this[FootnoteSeparatorType separatorType] { get; }

Remarks

Returns null if the footnote/endnote separator of the specified type is not found.

Examples

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