Inserts a control character at the specified text input position.

<void> TextCharCollection.addControlChar(<ControlChars> controlChar, <number> textPosition, [<RequestBooleanCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
controlChar Specifies a control character to insert.
textPosition Specifies a text input position. The first input position in a document is 0.
callback Optional. Receives whether the character is succesfully inserted.
errorCallback Optional. Is called when the operation failed with an error.