LanguageScope Class
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTXSpell. WinForms. SDK
- Assembly
TXSpell.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTXSpell. WinForms. SDK TXSpell.from the setup.dll
- Also in
TXTextControl.asTXSpell. Core. SDK TXSpell.dll
Description
The LanguageScope class represents a text scope with a specific language.
Syntax
public sealed class LanguageScopePublic NotInheritable Class LanguageScopeExamples
The following example includes the start value from a Language Scope object in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Start: {languageScope.Start}");
Console.WriteLine("Language Scope is ready for use.");Console.WriteLine($"Start: {languageScope.Start}")
Console.WriteLine("Language Scope is ready for use.")Members
Properties
| Property | Description |
|---|---|
| Index | Gets the index of the language scope to the corresponding collection. The first scope has the index 0. |
| Language | Gets the culture of the language scope. |
| Length | Gets the length of the language scope. |
| Start | Gets the starting position of a language scope. It is a zero-based index of the word's first character. |