# Shape.Outline.Width Property

> Gets or sets the shape's line width. The value is given in twips. The default value is 20.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 23.0
- **Namespace:** `TXTextControl.Drawing`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXDrawing.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXDrawing.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDrawing.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.Drawing > Shape.Outline.Width Property
- **327 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-drawing/shape-outline/width-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-drawing/shape-outline/width-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-drawing/shape-outline/width-property/llms-full.txt

---

### Description

Gets or sets the [shape](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-drawing/shape/llms-full.txt)'s [line](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-drawing/shape/shapeoutline-property/llms-full.txt) width. The value is given in twips. The default value is 20.

### Syntax

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

```vbnet
Public Property Width As Integer
```

### Examples

The following example uses `Outline.Width` to configure width as part of the outline workflow. The configured value is checked before the workflow continues.

```csharp
outline.Width = 100;
Console.WriteLine($"Width used by Outline: {outline.Width}");
```

```vbnet
outline.Width = 100
Console.WriteLine($"Width used by Outline: {outline.Width}")
```

---

## Nearby

- **Previous:** [Shape.Outline.Color Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-drawing/shape-outline/color-property/llms-full.txt)
- **Next:** [Shape.ShapeFill Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-drawing/shape/shapefill-property/llms-full.txt)
