TX Text Control .NET for Windows Forms

FontSettings Property

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

Description

Gets a FontSettings object which provides properties determining which fonts can be used in a document.

Syntax

public FontSettings FontSettings { get; }

Examples

The following example restricts document font selection to scalable TrueType fonts.

FontSettings settings = textControl.FontSettings;
settings.TrueTypeFontsOnly = true;
settings.ScalableFontsOnly = true;

Limitations

Read only.