TX Text Control .NET Server

Footnote Constructor

Constructor|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

Initializes a new instance of the Footnote class.

Syntax

Footnote(string)

Creates a Footnote object with the specified footnote text.

public Footnote(string text);
ParameterDescription
text

Specifies the footnote's text.

Footnote(string, string, int)

Creates a Footnote object with the specified footnote text and a name and/or an identifier.

public Footnote(string text, string name, int id);
ParameterDescription
text

Specifies the footnote's text.

name

Specifies the footnote's name. When this string is empty, the footnote has no name.

id

Specifies the footnote's id. When this id is 0, the footnote has no id.

Examples

The following example adds and configures a source note at the current input position.

Footnote footnote = new("Source: FY 2026 annual report");
textControl.Footnotes.Add(footnote, false);