TX Text Control .NET for Windows Forms

BottomBorderWidth Property

Property
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets, in twips, the width of the table cell's bottom border.

Syntax

public int BottomBorderWidth { get; set; }

Examples

The following example creates a small report table and works with its structure by using TableCellFormat.BottomBorderWidth.

textControl.Tables.Add(3, 3, 10);
Table table = textControl.Tables.GetItem(10);
TableCellFormat tableCellFormat = table.Cells[1, 1].CellFormat;

tableCellFormat.BottomBorderWidth = 100;
Console.WriteLine($"Bottom Border Width used by Table Cell Format: {tableCellFormat.BottomBorderWidth}");