FootnoteSeparators

DocumentBase.FootnoteSeparators property

يوفر الوصول إلى فواصل الحواشي السفلية/النهائية المحددة في المستند.

public FootnoteSeparatorCollection FootnoteSeparators { get; }

أمثلة

يوضح كيفية إزالة فاصل الحاشية الختامية.

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

FootnoteSeparator endnoteSeparator = doc.FootnoteSeparators[FootnoteSeparatorType.EndnoteSeparator];
// إزالة فاصل الحاشية الختامية.
endnoteSeparator.FirstParagraph.FirstChild.Remove();

يوضح كيفية إدارة تنسيق فاصل الحاشية السفلية.

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

FootnoteSeparator footnoteSeparator = doc.FootnoteSeparators[FootnoteSeparatorType.FootnoteSeparator];
//محاذاة فاصل الحاشية السفلية.
footnoteSeparator.FirstParagraph.ParagraphFormat.Alignment = ParagraphAlignment.Center;

أنظر أيضا