This method can be used to delete a complete table from the document.
Introduced: 19.0.
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. |
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.
TableId: | Integer |
Return value: | Boolean |
<< TXTextControl.TableCreated Event | >> TXTextControl.TableDeleted Event