TX Text Control .NET for Windows Forms

ReferenceMarkLength Property

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

Description

Gets the number of characters the reference mark consists of.

Syntax

public int ReferenceMarkLength { get; }

Examples

The following example adds and configures a source note at the current input position by using Footnote.ReferenceMarkLength.

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

Console.WriteLine($"Reference Mark Length: {footnote.ReferenceMarkLength}");
Console.WriteLine("Footnote is ready for use.");

Limitations

Read only.