# Paragraph.Number Property

> Gets the paragraph's number. The first paragraph has the number 1.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 15.0
- **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 > Paragraph.Number Property
- **420 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/paragraph/number-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/paragraph/number-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/paragraph/number-property/llms-full.txt

---

### Description

Gets the paragraph's number. The first paragraph has the number 1.

### Syntax

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

```vbnet
Public ReadOnly Property Number As Integer
```

### Examples

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

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

Console.WriteLine($"Number: {paragraph.Number}");
Console.WriteLine("Paragraph is ready for use.");
```

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

Console.WriteLine($"Number: {paragraph.Number}")
Console.WriteLine("Paragraph is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [Paragraph.ListNumberText Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/paragraph/listnumbertext-property/llms-full.txt)
- **Next:** [Paragraph.Save Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/paragraph/save-method/llms-full.txt)
