Footnote Constructor
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
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);Public Sub New(text As String)| Parameter | Description |
|---|---|
| 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);Public Sub New(text As String, name As String, id As Integer)| Parameter | Description |
|---|---|
| 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);Dim footnote As New Footnote("Source: FY 2026 annual report")
textControl.Footnotes.Add(footnote, False)