Item

FootnoteSeparatorCollection indexer

检索FootnoteSeparator指定类型。

public FootnoteSeparator this[FootnoteSeparatorType separatorType] { get; }

评论

返回无效的如果未找到指定类型的脚注/尾注分隔符。

例子

显示如何管理脚注分隔符格式。

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

FootnoteSeparator footnoteSeparator = doc.FootnoteSeparators[FootnoteSeparatorType.FootnoteSeparator];
// 对齐脚注分隔符。
footnoteSeparator.FirstParagraph.ParagraphFormat.Alignment = ParagraphAlignment.Center;

也可以看看