TX Text Control .NET Server

FontName Property

Property|Introduced in 15.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

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.