TX Spell .NET for Windows Forms

Language Property

Property|Introduced in 5.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WinForms.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 the culture of the language scope.

Syntax

public CultureInfo Language { get; }

Examples

The following example includes the language value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Language: {languageScope.Language}");
Console.WriteLine("Language Scope is ready for use.");

Limitations

Read only.

Remarks

If no language was detected for the scope the property returns null.