TableDelete

Description

Deletes the specified table.

Applies to

RichTextEdit control

Syntax

boolean rtename.TableDelete(long tableID)

Argument

Description

tableID

The unique ID that identifies the table.

If passing 0 to the tableID argument, that means deleting the currently-selected table, or the table that the cursor is currently located in.


Return value

Boolean.

Returns true if it succeeds, and returns false if the specified table ID is invalid or the table is not found. Returns null if any argument is null.

Examples

The following example deletes the specified table:

long ll_tableid
boolean lb_rtn

ll_tableid = rte_1.TableInsert(3,4)
lb_rtn = rte_1.TableDelete(ll_tableid)