TableGetCellHeight

Description

Gets the minimum height (width in twips) of a table cell in the RichTextEdit control.

Applies to

RichTextEdit control

Syntax

integer rtename.TableGetCellHeight(long tableID, long row, long column)

Argument

Description

tableID

The unique ID that identifies the table.

row The row number of the cell.
column The column number of the cell.

Return value

Integer.

Returns the minimum cell height if it succeeds. If 0 is returned, the cell's height is always determined through the containing text. Returns -1 if it fails. Returns null if any argument is null.

Examples

The following example gets the minimum height of the cell (2,2).

long ll_tableid
integer li_rtn

ll_tableid = rte_1.TableInsert(3,4)
li_rtn = rte_1.TableGetCellHeight(ll_tableid,2,2)
messagebox("TableGetCellHeight",string(li_rtn))