TX Text Control .NET for Windows Forms Documentation

TableColumn Class

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

Syntax

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

Properties

PropertyDescription
CellFormatGets or sets the formatting attributes of a table column.
ColumnGets the number of the table column represented through this table column object.
PositionGets or sets, in twips, the horizontal position of the column.
WidthGets or sets, in twips, the width of the column.

Methods

MethodDescription
SelectSelects the table column.

Example

The following example shows how to handle table columns.

[C#] TXTextControl.TableColumn myCol = myTable.Columns.GetItem(1); int myDelta = (int)(myCol.Width / 5); myCol.Width -= myDelta; myCol.Position += myDelta;
[Visual Basic] Dim MyCol As TXTextControl.TableColumn = MyTable.Columns.GetItem(1) Dim MyDelta As Integer = CInt(MyCol.Width / 5) MyCol.Width -= MyDelta MyCol.Position += MyDelta

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now