# Selection.Length Property

> Returns or sets the number of characters selected. If this property is zero, no text is selected and the Start property determines the current text input position. To select parts of a table, the Table.Select, TableRow.Select, TableColumn.Select and TableCell.Select methods must be used.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl > Selection.Length Property
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selection/length-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selection/length-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selection/length-property/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selection/length-property/#description)
- [Syntax](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selection/length-property/#syntax)
- [Examples](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selection/length-property/#examples)
- [Limitations](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selection/length-property/#limitations)
- [Remarks](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selection/length-property/#remarks)

---

## Nearby

- **Previous:** [Selection.Italic Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selection/italic-property/llms.txt)
- **Next:** [Selection.ListFormat Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selection/listformat-property/llms.txt)
