# ParagraphFormat.FrameLineWidth Property

> Gets or sets the line width, in twips, of the paragraph's frame.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **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 > ParagraphFormat.FrameLineWidth Property
- **635 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/paragraphformat/framelinewidth-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/paragraphformat/framelinewidth-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/paragraphformat/framelinewidth-property/llms-full.txt

---

### Description

Gets or sets the line width, in twips, of the paragraph's frame.

### Syntax

```csharp
public int FrameLineWidth { get; set; }
```

```vbnet
Public Property FrameLineWidth As Integer
```

### Examples

The following example applies paragraph layout to selected report text by using `ParagraphFormat.FrameLineWidth`.

```csharp
textControl.Text = "First item\nSecond item\nThird item";
textControl.Select(0, textControl.Text.Length);
ParagraphFormat paragraphFormat = textControl.Selection.ParagraphFormat;

paragraphFormat.FrameLineWidth = 100;
Console.WriteLine($"Frame Line Width used by Paragraph Format: {paragraphFormat.FrameLineWidth}");

textControl.Selection.ParagraphFormat = paragraphFormat;
```

```vbnet
textControl.Text = "First item" & vbCrLf & "Second item" & vbCrLf & "Third item"
textControl.Select(0, textControl.Text.Length)
Dim paragraphFormat As ParagraphFormat = textControl.Selection.ParagraphFormat

paragraphFormat.FrameLineWidth = 100
Console.WriteLine($"Frame Line Width used by Paragraph Format: {paragraphFormat.FrameLineWidth}")

textControl.Selection.ParagraphFormat = paragraphFormat
```

### Remarks

The property's default value is 15 twips (0.75 pt).

The property returns its default value when the text selection contains multiple paragraphs with mixed widths. The [Selection.IsCommonValueSelected](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/selection/iscommonvalueselected-method/llms-full.txt) method can be used to check for mixed attributes.

---

## Nearby

- **Previous:** [ParagraphFormat.FrameLineColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/paragraphformat/framelinecolor-property/llms-full.txt)
- **Next:** [ParagraphFormat.FrameStyle Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/paragraphformat/framestyle-property/llms-full.txt)
