TXTextControl.TableDelete Method

This method can be used to delete a complete table from the document.

Introduced: 19.0.

Syntax

TXTextControl.TableDelete TableId
Parameter Description
TableId

Specifies the table's identifier. This must be the value returned from the TableInsert method. If this parameter is set to zero, the currently selected table or the table at the text input position is deleted.

Return Value

The return value is True, if the specified table could be deleted. Otherwise, it is False. False is returned, if the specified table id is invalid or there is no table at the text input position.

Data Types

TableId: Integer
Return value: Boolean

See Also