All docs
V20.1
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Section.FootnoteOptions Property

Provides access to the footnote options.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v20.1.Core.dll

Declaration

FootnoteOptions FootnoteOptions { get; }
ReadOnly Property FootnoteOptions As FootnoteOptions

Property Value

Type Description
FootnoteOptions

An object that contains footnote options.

Remarks

Use the FootnoteOptions properties to specify the footnote format, location and layout.

The NumberingFormat, StartNumber, and RestartType properties allow you to change footnote's format. If the RestartType property is set to NoteRestartType.NewSection or NoteRestartType.NewPage, the StartNumber property value is ignored.

The code sample below shows how to change the footnotes format so they appear as follows:

IMAGE

using (RichEditDocumentServer wordProcessor = new RichEditDocumentServer())
{
    wordProcessor.LoadDocument("Document.docx");
    Document document = wordProcessor.Document;
    FootnoteOptions footnoteOptions = document.Sections[0].FootnoteOptions;
    footnoteOptions.NumberingFormat = NumberingFormat.UpperRoman;
    footnoteOptions.StartNumber = 5;
}

The Position property allows you to specify one of following footnote locations:

Use FootnoteOptions.ColumnCount property to divide footnotes into columns. This property is ignored when a document is displayed in the RichEditControl. However, you can set this property in code and save its value to a file for further processing in Microsoft Word or other word processing applications.

See Also