TX Spell .NET for WPF

LanguageScopes Property

Property|Introduced in 5.0
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 a collection of all detected language scopes. The property's value is an object of type LanguageScopeCollection.

Syntax

public LanguageScopeCollection LanguageScopes { get; }

Examples

The following example iterates through the language scopes collection and processes each language scope.

foreach (TXTextControl.Proofing.LanguageScope languageScope in tXSpell.LanguageScopes)
{
    Console.WriteLine(languageScope.Start);
}

Limitations

Read only.