SectionInsert Method
Inserts a section break at the text input position or at a specified position.
Introduced: 14.0.
Syntax
TXTextControl.SectionInsert BreakKind, TextPos
Parameters
| Parameter | Description |
|---|---|
| BreakKind | Specifies the kind of the section break. It can be one of the following Constants: |
| TextPos | Specifies 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
| Value | Description |
|---|---|
| txBeginAtNewLine | The section begins on the next line with a new paragraph. |
| txBeginAtNewPage | The 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
| Name | Data type |
|---|---|
| BreakKind | Integer |
| TextPos | Long |
| Return value | Boolean |