TX Text Control .NET for Windows Forms

FontName Property

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

Description

Gets the name of the original font which must be adapted.

Syntax

public string FontName { get; }

Examples

The following example uses AdaptFontEventArgs.FontName while handling AdaptFont.

textControl.AdaptFont += (_, e) =>
{
    Console.WriteLine($"Font Name: {e.FontName}");
};

Limitations

Read only.