Saves the subtextpart in a certain format and sends the result back asynchronously by calling a given callback function.

Introduced: X18.

<void> SubTextPart.save(<StreamType> streamType, <SaveDocumentCallback> callback, [<SaveSettings> saveSettings], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
streamType Specifies one of the StreamType values.
callback Receives the subtextpart's data in a certain format including additional information.
saveSettings Optional. Specifies additional settings for saving.
errorCallback Optional. Is called when the operation failed with an error.