TX Text Control .NET for Windows Forms

Width Property

Property|Introduced in 23.0
Namespace
TXTextControl.Drawing
Package
TXTextControl.TextControl.WinForms.SDK as TXDrawing.dll from the private NuGet feed or Text Control Offline Packages

Description

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

Syntax

public int Width { get; set; }

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.

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