BottomLineWidth Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets the width of the bottom border line. If this property's value is zero there is no bottom border line. Otherwise it is a value in twips.
Syntax
public int BottomLineWidth { get; set; }Public Property BottomLineWidth As IntegerExamples
The following example configures the page border of the first document section by using PageBorder.BottomLineWidth.
PageBorder pageBorder = textControl.Sections[1].Format.PageBorder;
pageBorder.BottomLineWidth = 100;
Console.WriteLine($"Bottom Line Width used by Page Border: {pageBorder.BottomLineWidth}");Dim pageBorder As PageBorder = textControl.Sections(1).Format.PageBorder
pageBorder.BottomLineWidth = 100
Console.WriteLine($"Bottom Line Width used by Page Border: {pageBorder.BottomLineWidth}")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.