TX Text Control ActiveX

TableInsertLines Method

Method

This member function inserts table lines above or below the table line with the current input position. Table lines can only be inserted if the current input position is in a table and if no text is selected. The TableCanInsertLines property informs whether table lines can be inserted.

Syntax

TXTextControl.TableInsertLines Position, Lines

Parameters

ParameterDescription
PositionSpecifies where to insert the table lines. Possible values are the following:
LinesSpecifies the number of lines to insert.

Position

ConstantDescription
txTableInsertInFront (1)Table lines are inserted above the line with the current input position.
txTableInsertAfter (2)Table lines are inserted below the line with the current input position.

Return Value

The method returns True if the table lines could successfully be inserted. The method returns False if an error has occurred or if the current input position is not within a table.

Data Types

NameData type
Return valueBoolean

See Also