Appends text to the document in a certain format.

Introduced: 31.0.

<void> TXTextControl.append(<StreamType> streamType, <string> base64Data, <LoadDocumentCallback> callback, [<LoadSettings> loadSettings], [<AppendSettings> appendSettings], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
streamType Specifies one of the numerical StreamType values.
base64Data Base64 encoded document data. For encoding strings containing characters outside of the Latin1 range use TXTextControl.btoaUTF8.
callback Receives information about the appended data when the appending process is finished.
loadSettings Optional. Additional settings for appending the data.
appendSettings Optional. Settings on how the document is appended.
errorCallback Optional. Is called when the operation failed with an error.