TX Spell .NET for WPF

FontSize Property

Property|Introduced in 3.0
Namespace
TXTextControl.WPF.Proofing
Package
TXTextControl.TXSpell.WPF.SDK as TXSpell.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets the font size for the text displayed by the SpellCheckDialog labels, the preview, suggestion list, suggestion dictionary combo box and the cancel button.

Syntax

public double FontSize { get; set; }

Examples

The following example uses SpellCheckDialog.FontSize to configure font size as part of the spell check dialog workflow. The configured value is checked before the workflow continues.

spellCheckDialog.FontSize = 1.0;
Console.WriteLine($"Font Size used by Spell Check Dialog: {spellCheckDialog.FontSize}");