FontSettings Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK 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; }Public ReadOnly Property FontSettings As FontSettingsExamples
The following example restricts document font selection to scalable TrueType fonts.
FontSettings settings = textControl.FontSettings;
settings.TrueTypeFontsOnly = true;
settings.ScalableFontsOnly = true;Dim settings As FontSettings = textControl.FontSettings
settings.TrueTypeFontsOnly = True
settings.ScalableFontsOnly = TrueLimitations
Read only.