Item Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK 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; }Default Public ReadOnly Property Item(number As Integer) As FootnoteExamples
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.");textControl.Text = "Customer: Contoso Ltd."
textControl.Select(10, 12)
Dim footnoteCollection As FootnoteCollection = textControl.Footnotes
footnoteCollection.Add(New Footnote("Source: FY 2026 annual report") With { .ID = 100 }, False)
Console.WriteLine($"Item: {footnoteCollection.Item(10)}")
Console.WriteLine("Footnote Collection is ready for use.")Limitations
Read only.