FontName Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Gets the name of the original font which must be adapted.
Syntax
public string FontName { get; }Public ReadOnly Property FontName As StringExamples
The following example uses AdaptFontEventArgs.FontName while handling AdaptFont.
textControl.AdaptFont += (_, e) =>
{
Console.WriteLine($"Font Name: {e.FontName}");
};AddHandler textControl.AdaptFont,
Sub(sender, e)
Console.WriteLine($"Font Name: {e.FontName}")
End SubLimitations
Read only.