TableGetCellText

Description

Gets the text content in a table cell in the RichTextEdit control.

Applies to

RichTextEdit control

Syntax

string rtename.TableGetCellText(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 text content in the specified table cell if it succeeds. Returns an empty string if it fails. Returns null if any argument is null.

Examples

The following example gets the text in the specified cell:

long ll_tableid
string ls_rtn

ll_tableid = rte_1.TableInsert(3,4)
rte_1.TableSetCellText(ll_tableid,2,2,"Test")

ls_rtn = rte_1.TableGetCellText(ll_tableid,2,2)