An instance of the FootnoteCollection class contains all footnotes in a Text Control document represented through objects of the type Footnote. An instance of this class can be obtained with the TextControl.Footnotes, WPF.TextControl.Footnotes and ServerTextControl.Footnotes property. The FootnoteCollection class implements the IEnumerable and the ICollection interfaces.

Syntax

public sealed class FootnoteCollection
Public NotInheritable Class FootnoteCollection

Introduced: 32.0.

Methods

Method Description
Add Adds a new footnote to the document at the current text input position.
CopyTo Copies the elements of the collection to an array, starting at a particular index.
GetEnumerator Returns an enumerator that can be used to iterate through the collection.
GetItem Gets a particular footnote from the collection.
Remove Removes a footnote from a Text Control document.

Properties

Property Description
Count Gets the number of elements contained in the collection.
HighlightMode Gets or sets a value indicating whether all the footnote numbers, reference marks as well as footnote marks, in the document are highlighted.
Item Gets the footnote with the specified number from the collection.
NumberFormat Gets or sets the footnotes' number format.
StartNumber Gets or sets the number for the first footnote.