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.

Introduced: 15.0.

Syntax

public int ColumnLineWidth { get; set; }
Public Property ColumnLineWidth() As Integer

Examples

The following example uses ColumnLineWdith property and sets the width of a dividing line as 50.

TXTextControl.SectionFormat sf = new TXTextControl.SectionFormat(3, new int[] { 1500, 2500, 5000 }, new int[] { 250, 500 });

sf.ColumnLineColor = Color.Black;
sf.ColumnLineWidth = 50;
sf.PageSize        = new TXTextControl.PageSize(500, 1000);
sf.Landscape       = true;
sf.PageMargins     = new TXTextControl.PageMargins(100, 100, 100, 100);

textControl1.Sections.Add(TXTextControl.SectionBreakKind.BeginAtNewPage);

textControl1.Sections.GetItem().Format = sf;
Dim sf As New TXTextControl.SectionFormat(3, New Integer() {1500, 2500, 5000}, New Integer() {250, 500})

sf.ColumnLineColor = Color.Black
sf.ColumnLineWidth = 50
sf.PageSize        = New TXTextControl.PageSize(500, 1000)
sf.Landscape       = True
sf.PageMargins     = New TXTextControl.PageMargins(100,100,100, 100)

TextControl1.Sections.Add(TXTextControl.SectionBreakKind.BeginAtNewPage)

TextControl1.Sections.GetItem().Format = sf

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.