BottomLineColor Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets the color of the bottom border line.
Syntax
public Color BottomLineColor { get; set; }Public Property BottomLineColor As ColorExamples
The following example configures the page border of the first document section by using PageBorder.BottomLineColor.
PageBorder pageBorder = textControl.Sections[1].Format.PageBorder;
pageBorder.BottomLineColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Bottom Line Color used by Page Border: {pageBorder.BottomLineColor}");Dim pageBorder As PageBorder = textControl.Sections(1).Format.PageBorder
pageBorder.BottomLineColor = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Bottom Line Color used by Page Border: {pageBorder.BottomLineColor}")Remarks
The property's default value is the system color for text.
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.