ColumnLineWidth Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
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; }Public Property ColumnLineWidth As IntegerExamples
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}");Dim sectionFormat As 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.