# PageBorder.LeftLineWidth Property

> Gets or sets the width of the left border line. If this property's value is zero, there is no left border line. Otherwise it is a value in twips.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 17.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.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 Windows Forms > Reference > TXTextControl > PageBorder.LeftLineWidth Property
- **459 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pageborder/leftlinewidth-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pageborder/leftlinewidth-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pageborder/leftlinewidth-property/llms-full.txt

---

### Description

Gets or sets the width of the left border line. If this property's value is zero, there is no left border line. Otherwise it is a value in twips.

### Syntax

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

```vbnet
Public Property LeftLineWidth As Integer
```

### Examples

The following example configures the page border of the first document section by using `PageBorder.LeftLineWidth`.

```csharp
PageBorder pageBorder = textControl.Sections[1].Format.PageBorder;

pageBorder.LeftLineWidth = 100;
Console.WriteLine($"Left Line Width used by Page Border: {pageBorder.LeftLineWidth}");
```

```vbnet
Dim pageBorder As PageBorder = textControl.Sections(1).Format.PageBorder

pageBorder.LeftLineWidth = 100
Console.WriteLine($"Left Line Width used by Page Border: {pageBorder.LeftLineWidth}")
```

### Remarks

The property's default value is 0.

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

---

## Nearby

- **Previous:** [PageBorder.LeftLineColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pageborder/leftlinecolor-property/llms-full.txt)
- **Next:** [PageBorder.MeasureFromText Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pageborder/measurefromtext-property/llms-full.txt)
