TX Text Control .NET for Windows Forms Documentation

TableRow Class

An instance of the TableRow class represents a single row of a table in a Text Control document. It can be obtained from the table's row collection.

Syntax

public class TableRow
[C#] public class TableRow
[Visual Basic] Public Class TableRow

Properties

PropertyDescription
AllowPageBreakGets or sets a value specifying how the table row is formatted at page breaks.
CellFormatGets or sets the formatting attributes of a table row.
IsHeaderGets or sets a value specifying whether the table row is part of the table's header.
MinimumHeightGets or sets the minimum height, in twips, of the table row.
RowGets the number of the table row represented through this table row object.

Methods

MethodDescription
SelectSelects the table row.

Example

The following example shows how to handle table rows.

[C#] TXTextControl.TableCellFormat myCellFormat = new TXTextControl.TableCellFormat(); myCellFormat.BackColor = System.Drawing.Color.LightGreen; myCellFormat.BottomBorderWidth = 40; TXTextControl.TableRow myRow = myTable.Rows.GetItem(1); myRow.MinimumHeight = 1440; // 1 inch myRow.AllowPageBreak = false; myRow.CellFormat = myCellFormat;
[Visual Basic] Dim MyCellFormat As New TXTextControl.TableCellFormat() MyCellFormat.BackColor = System.Drawing.Color.LightGreen MyCellFormat.BottomBorderWidth = 40 Dim MyRow As TXTextControl.TableRow = MyTable.Rows.GetItem(1) MyRow.MinimumHeight = 1440 ' 1 inch MyRow.AllowPageBreak = False MyRow.CellFormat = MyCellFormat

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now