TXTextControl.TextControl.TableCreated Event

Occurs after a new table has been created as a result of a text insertion via the clipboard or when loading a document which contains a table without an identifier. It does not occur when the table is inserted with the TableInsert method or for tables that have a previously set identifier when loading a document. The event handler receives an argument of type TableEventArgs containing data related to this event.

Syntax

[C#]
public event TableEventHandler TableCreated;
[Visual Basic]
Public Event TableCreated As TableEventHandler

Remarks

The TableCreated event is always fired, if a table is inserted from the clipboard and is not next to another table. If the table has an identifier, it will be kept. If a previously existent table has the same identifier, the identifier will point to the already present table.

The TableCreated event is not fired, if a table is inserted from the clipboard next to another table. The table will be merged with the existent table and the resulting table inherits the identifier from the already existent one.

See Also