Saves the current document in a certain format and sends the result back asynchronously by calling a given callback function.
Introduced: X18.
<void> TXTextControl.save(<StreamType> streamType, <SaveDocumentResultCallback> callback, [<SaveSettings> saveSettings], [<ErrorCallback> errorCallback])| Parameter | Description |
|---|---|
| stream |
Specifies one of the numerical Stream |
| callback | A function with one parameter. Is called with an argument object of type Save |
| save |
Optional. Specifies additional save settings. |
| error |
Optional. Is called when the operation failed with an error. |