TXTextControl.TXTextControl.TableSplit Method

Splits a table below or above the current input position. If the table does not contain the current input position, it cannot be split. The TableCanSplit property can be used to determine whether a table can be split or not. If a table is split above the first row, a new line is inserted above the table and if a table is split below the last row, a new line is inserted below the table. This is useful to insert text above or below a nested table that immediately starts and/or ends at the beginning or the end of the cell in which it is nested.

Introduced: 11.0.


TXTextControl.TableSplit Position
Parameter Description

Specifies where to split the table. Possible values are the following:

Constant Description
txTableInsertInFront (1) The table is split below the current input position.
txTableInsertAfter (2) The table is split in front of the current input position.

Return Value

The method returns True, if the table can successfully be split. The method returns False, if an error has occurred or if the current input position is not within a table.

Data Types

Position Integer
Return value: Boolean

See Also