FontSettings Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets a FontSettings object which provides properties determining which fonts can be used in a document.
Syntax
public FontSettings FontSettings { get; set; }Public Property FontSettings As FontSettingsExamples
The following example uses TextControl.FontSettings to configure font settings as part of the text control workflow. The configured value is checked before the workflow continues.
textControl.FontSettings = new FontSettings();
if (textControl.FontSettings != null)
{
Console.WriteLine("Text Control: Font Settings is available.");
}textControl.FontSettings = New FontSettings()
If textControl.FontSettings IsNot Nothing Then
Console.WriteLine("Text Control: Font Settings is available.")
End If