TableCell Object

Build 1501 on 14/Nov/2017  This topic last edited on: 9/May/2012, at 13:02

The TableCell object provides control over attributes of a tabulation cell, i.e. all the attributes that can be modified using the EditTableCellDlg command.

Methods

HasAdvance MethodReturns true if the Advance property has a value.
HasBottomAdd MethodReturns true if the BottomAdd property has a value.
HasBottomAdvance MethodReturns true if the BottomAdvance property has a value.
HasDrawHRule MethodReturns true if the DrawHRule property has a value.
HasDrawVRule MethodReturns true if the DrawVRule property has a value.
HasFillColor MethodReturns true if the FillColor property has a value.
HasTopAdd MethodReturns true if the TopAdd property has a value.
HasTopAdvance MethodReturns true if the TopAdvance property has a value.
Edit MethodEdits the attributes with a dialog identical to the one used by the EditTableCellDlg command.
Reset MethodResets all the properties to 'no value'.

Properties

Margins

Advance PropertyMargins of the tabulation cells in millipoints.

Vertical justification of cells

TopAdd PropertyMaximum space that can be added above the text of the cell.
BottomAdd PropertyMaximum space that can be added below the text of the cell.

Horizontal rules

DrawHRule PropertyTrue if the horizontal rule under the cell should be drawn.
DrawVRule PropertyTrue if the vertical rule next to the cell should be drawn.

Fill color

FillColorGray PropertyReturns or sets the tint of the cell fill color.
FillColorName PropertyReturns or sets the name of the cell fill color.

To create a TableCell object

Dim objTableCell = Text.GetTableCell

See also

Overview of the TableCell object

NewTable and CurTable objects

TableColumn object

TableRow object