TX Text Control .NET for WPF

BorderWidth Property

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

Description

Gets or sets the TX Drawing Control's border line width. The value is given in twips. The default value is 0.

Syntax

public int BorderWidth { get; set; }

Examples

The following example uses TXDrawingControl.BorderWidth to configure border width as part of the txdrawing control workflow. The configured value is checked before the workflow continues.

tXDrawingControl.BorderWidth = 100;
Console.WriteLine($"Border Width used by TXDrawing Control: {tXDrawingControl.BorderWidth}");