# Paragraph.Format Property

> Gets or sets the paragraph's formatting attributes. The property's value is an object of the type ParagraphFormat.

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

---

### Description

Gets or sets the paragraph's formatting attributes. The property's value is an object of the type [ParagraphFormat](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/paragraphformat/llms-full.txt).

### Syntax

```csharp
public ParagraphFormat Format { get; set; }
```

```vbnet
Public Property Format As ParagraphFormat
```

### Examples

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

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

paragraph.Format = new ParagraphFormat();
paragraph.Select();
```

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

paragraph.Format = New ParagraphFormat()
paragraph.Select()
```

---

## Nearby

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