# InputFormat.FrameLineColor Property

> Gets or sets the color used to display the color of frame lines at the current text input position. If text is selected, the property specifies the color of frame lines used in the whole selected text. A frame line color can be set for table cells and paragraphs.

- **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.FrameLineColor Property
- **625 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/framelinecolor-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/framelinecolor-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/framelinecolor-property/llms-full.txt

---

### Description

Gets or sets the color used to display the color of frame lines at the current text input position. If text is selected, the property specifies the color of frame lines used in the whole selected text. A frame line color can be set for table cells and paragraphs.

### Syntax

```csharp
public Color? FrameLineColor { get; set; }
```

```vbnet
Public Property FrameLineColor As Color?
```

### Examples

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

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

inputFormat.FrameLineColor = System.Drawing.Color.LightSteelBlue;
if (inputFormat.FrameLineColor != null)
{
    Console.WriteLine("Input Format: Frame Line Color is available.");
}
```

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

inputFormat.FrameLineColor = System.Drawing.Color.LightSteelBlue
If inputFormat.FrameLineColor IsNot Nothing Then
    Console.WriteLine("Input Format: Frame Line Color is available.")
End If
```

### Remarks

The property returns null when the text selection contains multiple frame lines with mixed colors.

---

## Nearby

- **Previous:** [InputFormat.FrameFillColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/framefillcolor-property/llms-full.txt)
- **Next:** [InputFormat.FrameLineWidth Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputformat/framelinewidth-property/llms-full.txt)
