TX Text Control ActiveX

SectionInsert Method

Method

Inserts a section break at the text input position or at a specified position.

Introduced: 14.0.

Syntax

TXTextControl.SectionInsert BreakKind, TextPos

Parameters

ParameterDescription
BreakKindSpecifies the kind of the section break. It can be one of the following Constants:
TextPosSpecifies the text position at which the section is to be inserted. If this parameter is -1, the section break is inserted at the current text input position.

BreakKind

ValueDescription
txBeginAtNewLineThe section begins on the next line with a new paragraph.
txBeginAtNewPageThe section begins on the next page with a new paragraph.

Return Value

The return value is True, if the section break could be added. Otherwise it is False.

Data Types

NameData type
BreakKindInteger
TextPosLong
Return valueBoolean

See Also