DictionaryEncoding Property
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline Packagesdll
- Also in
TXTextControl.asTXSpell. Core. SDK TXSpell.dll
Description
Gets or sets the dictionary's encoding.
Syntax
public Encoding DictionaryEncoding { get; set; }Public Property DictionaryEncoding As EncodingExamples
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.");
}dictionary.DictionaryEncoding = System.Text.Encoding.UTF8
If dictionary.DictionaryEncoding IsNot Nothing Then
Console.WriteLine("Dictionary: Dictionary Encoding is available.")
End If