FootnoteSeparatorCollection

FootnoteSeparatorCollection class

Ger maskinskriven åtkomst tillFootnoteSeparator noder i ett dokument.

public class FootnoteSeparatorCollection : IEnumerable<FootnoteSeparator>

Konstruktörer

namnBeskrivning
FootnoteSeparatorCollection()Default_Constructor

Egenskaper

namnBeskrivning
Item { get; }Hämtar enFootnoteSeparator av den angivna typen.

Metoder

namnBeskrivning
GetEnumerator()

Exempel

Visar hur man hanterar formatet för fotnotsavgränsare.

Document doc = new Document(MyDir + "Footnotes and endnotes.docx");

FootnoteSeparator footnoteSeparator = doc.FootnoteSeparators[FootnoteSeparatorType.FootnoteSeparator];
// Justera fotnotsavgränsaren.
footnoteSeparator.FirstParagraph.ParagraphFormat.Alignment = ParagraphAlignment.Center;

Se även