TX Text Control .NET Server

Item Property

Property|Introduced in 32.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

Gets the footnote with the specified number from the collection. The number must be between 1 and Count. In C# this property is the indexer for the FootnoteCollection class.

Syntax

public Footnote this[int number] { get; }

Examples

The following example works with footnotes in the current document by using FootnoteCollection.Item.

textControl.Text = "Customer: Contoso Ltd.";
textControl.Select(10, 12);
FootnoteCollection footnoteCollection = textControl.Footnotes;
footnoteCollection.Add(new Footnote("Source: FY 2026 annual report") { ID = 100 }, false);

Console.WriteLine($"Item: {footnoteCollection[10]}");
Console.WriteLine("Footnote Collection is ready for use.");

Limitations

Read only.