# Paragraph.Length Property

> Gets the number of characters in the paragraph including the paragraph end character.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 15.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.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 for Windows Forms > Reference > TXTextControl > Paragraph.Length Property
- **439 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/paragraph/length-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/paragraph/length-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/paragraph/length-property/llms-full.txt

---

### Description

Gets the number of characters in the paragraph including the paragraph end character.

### Syntax

```csharp
public int Length { get; }
```

```vbnet
Public ReadOnly Property Length As Integer
```

### Examples

The following example examines the first paragraph in a short document by using `Paragraph.Length`.

```csharp
textControl.Text = "Quarterly results\nRevenue increased by 12%.";
Paragraph paragraph = textControl.Paragraphs[1];

textControl.Select(paragraph.Start, paragraph.Length);
Console.WriteLine("Paragraph is ready for use.");
```

```vbnet
textControl.Text = "Quarterly results" & vbCrLf & "Revenue increased by 12%."
Dim paragraph As Paragraph = textControl.Paragraphs(1)

textControl.Select(paragraph.Start, paragraph.Length)
Console.WriteLine("Paragraph is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [Paragraph.FormattingStyle Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/paragraph/formattingstyle-property/llms-full.txt)
- **Next:** [Paragraph.Lines Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/paragraph/lines-property/llms-full.txt)
