TX Text Control .NET for WPF

BorderWidth Property

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

Description

Gets or sets the border line width of the canvas. The value is given in twips. The default value is 0.

Syntax

public int BorderWidth { get; set; }

Examples

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

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