TX Text Control .NET for WPF

ColumnLineWidth Property

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

Description

Gets or sets the width of a dividing line between two columns. If this property's value is zero there is no dividing line. Otherwise it is a value in twips.

Syntax

public int ColumnLineWidth { get; set; }

Examples

The following example configures the layout of the first document section by using SectionFormat.ColumnLineWidth.

SectionFormat sectionFormat = textControl.Sections[1].Format;

sectionFormat.ColumnLineWidth = 100;
Console.WriteLine($"Column Line Width used by Section Format: {sectionFormat.ColumnLineWidth}");

Remarks

The property's default value is 0.

The property returns its default value when the text selection contains multiple sections with mixed setting. The Selection.IsCommonValueSelected method can be used to check for mixed attributes.