insertBreak method

This method inserts a break, such as paragraph break, line break, and so on.

Defined in

TextRange

Syntax

public void insertBreak(TextRange position, int type)  throws SymphonyException

Parameters

TextRange position

Specifies the position where the break is to be inserted.

int type

Specifies the type of the break. The type of this property can be a break type constant.

Usage

If the break type is invalid, this method throws an exception.

See examples

Example: insertBreak method