TableGetCellLength

Description

Gets the number of characters in a table cell in the RichTextEdit control.

Applies to

RichTextEdit control

Syntax

long rtename.TableGetCellLength(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

String.

Returns the number of characters in a table cell if it succeeds. Returns 0 if it fails. Returns null if any argument is null.

Examples

The following example gets the number of characters in the specified table cell.

long ll_tableid,ll_rtn

ll_tableid = rte_1.TableInsert(3,4)
rte_1.TableSetCellText(ll_tableid,2,2,"Test")
ll_rtn = rte_1.TableGetCellLength(ll_tableid,2,2)
messagebox("",string(ll_rtn))