FootnoteSeparatorType

FootnoteSeparatorType enumeration

يحدد نوع فاصل الحاشية السفلية/النهاية.

public enum FootnoteSeparatorType

قيم

اسمقيمةوصف
FootnoteSeparator0فاصل بين النص الرئيسي ونص الحاشية السفلية.
FootnoteContinuationSeparator1مطبوع فوق نص الحاشية السفلية على الصفحة عندما يجب متابعة النص من الصفحة السابقة.
FootnoteContinuationNotice2مطبوع أسفل نص الحاشية السفلية على صفحة عندما يجب أن يستمر نص الحاشية السفلية على صفحة لاحقة.
EndnoteSeparator3فاصل بين النص الرئيسي ونص الحاشية الختامية.
EndnoteContinuationSeparator4مطبوع فوق نص الحاشية الختامية في الصفحة عندما يجب متابعة النص من الصفحة السابقة.
EndnoteContinuationNotice5مطبوع أسفل نص الحاشية الختامية على صفحة عندما يجب أن يستمر نص الحاشية الختامية على صفحة لاحقة.

أمثلة

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

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;

أنظر أيضا