TX Text Control .NET Server

FontSettings Property

Property|Introduced in 15.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Server.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.dll

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.