# LanguageScope Class

> The LanguageScope class represents a text scope with a specific language.

- **Product:** TX Spell .NET for Windows Forms
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 5.0
- **Namespace:** `TXTextControl.Proofing`
- **Package:** `TXTextControl.TXSpell.WinForms.SDK` (assembly `TXSpell.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TXSpell.Core.SDK` (assembly `TXSpell.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXSpell.dll` from the setup
- **Path:** TX Spell .NET for Windows Forms > Reference > TXTextControl.Proofing > LanguageScope Class
- **516 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/languagescope/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/languagescope/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/languagescope/llms-full.txt

---

### Description

The LanguageScope class represents a text scope with a specific language.

### Syntax

```csharp
public sealed class LanguageScope
```

```vbnet
Public NotInheritable Class LanguageScope
```

### Examples

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.

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

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

---

## In This Section

- [LanguageScope.Index Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/languagescope/index-property/llms-full.txt): Gets the index of the language scope to the corresponding collection. The first scope has the index 0.
- [LanguageScope.Language Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/languagescope/language-property/llms-full.txt): Gets the culture of the language scope.
- [LanguageScope.Length Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/languagescope/length-property/llms-full.txt): Gets the length of the language scope.
- [LanguageScope.Start Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/languagescope/start-property/llms-full.txt): Gets the starting position of a language scope. It is a zero-based index of the word's first character.

---

## Nearby

- **Previous:** [IncorrectWordCollection.Item Method](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/incorrectwordcollection/item-method/llms-full.txt)
- **Next:** [LanguageScope.Index Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/languagescope/index-property/llms-full.txt)
