TX Spell .NET for WPF

DictionaryEncoding Property

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

Description

Gets or sets the dictionary's encoding.

Syntax

public Encoding DictionaryEncoding { get; set; }

Examples

The following example uses Dictionary.DictionaryEncoding to configure dictionary encoding as part of the dictionary workflow. The configured value is checked before the workflow continues.

dictionary.DictionaryEncoding = System.Text.Encoding.UTF8;
if (dictionary.DictionaryEncoding != null)
{
    Console.WriteLine("Dictionary: Dictionary Encoding is available.");
}