TX Text Control .NET for Windows Forms

SupportedFonts 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 a list of all fonts currently supported.

Syntax

public string[] SupportedFonts { get; }

Examples

The following example uses AdaptFontEventArgs.SupportedFonts while handling AdaptFont.

textControl.AdaptFont += (_, e) =>
{
    Console.WriteLine($"Supported Fonts: {e.SupportedFonts}");
};

Limitations

Read only.