Inserts a character at the specified position using the specified font.
<void> TextCharCollection.add(<string> character, <string> fontName, <number> textPosition, [<RequestBooleanCallback> callback], [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
character | Specifies the character to insert. |
font |
Specifies the name of the font which is used for the specified character. |
text |
Specifies a text input position. The first input position in a document is 0. |
callback | Optional. Receives whether the character is succesfully inserted. |
error |
Optional. Is called when the operation failed with an error. |