Inserts a character at the specified position using the specified font.

<void> TextCharCollection.add(<string> character, <string> fontName, <number> textPosition, [<RequestBooleanCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
character Specifies the character to insert.
fontName Specifies the name of the font which is used for the specified character.
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.