TX Text Control .NET for WPF

Width Property

Property|Introduced in 29.0
Namespace
TXTextControl.DocumentServer.PDF.Contents
Package
TXTextControl.TextControl.WPF.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Returns the width of the line in Points.

Syntax

public float Width { get; set; }

Examples

The following example uses ContentLine.Width to configure width as part of the content line workflow. The configured value is checked before the workflow continues.

contentLine.Width = 1.0f;
Console.WriteLine($"Width used by Content Line: {contentLine.Width}");