# InputFormat.FrameLineWidth Property

> Gets or sets the line width, in twips, of the paragraph's or table's frame at the current input position. If text is selected, the property specifies the line width of the whole selected text.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 24.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 > InputFormat.FrameLineWidth Property
- **656 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/framelinewidth-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/framelinewidth-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/framelinewidth-property/llms-full.txt

---

### Description

Gets or sets the line width, in twips, of the paragraph's or table's frame at the current input position. If text is selected, the property specifies the line width of the whole selected text.

### Syntax

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

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

### Examples

The following example changes the formatting applied to text entered at the end of a document by using `InputFormat.FrameLineWidth`.

```csharp
textControl.Text = "Project summary";
textControl.InputPosition = new InputPosition(textControl.Text.Length);
InputFormat inputFormat = textControl.InputFormat;

inputFormat.FrameLineWidth = 100;
if (inputFormat.FrameLineWidth != null)
{
    Console.WriteLine("Input Format: Frame Line Width is available.");
}
```

```vbnet
textControl.Text = "Project summary"
textControl.InputPosition = New InputPosition(textControl.Text.Length)
Dim inputFormat As InputFormat = textControl.InputFormat

inputFormat.FrameLineWidth = 100
If inputFormat.FrameLineWidth IsNot Nothing Then
    Console.WriteLine("Input Format: Frame Line Width is available.")
End If
```

### Remarks

The property returns null when the text selection contains multiple paragraphs or table cells with different frames.

The [WPF.MeasureConverter](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/measureconverter/llms-full.txt) can be used to convert the property value to another measuring unit.

---

## Nearby

- **Previous:** [InputFormat.FrameLineColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/framelinecolor-property/llms-full.txt)
- **Next:** [InputFormat.GetFontFamilies Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/getfontfamilies-method/llms-full.txt)
