Obsolete. This method will be removed in one of the next versions. Saves the current selection in a certain format and sends the result back asynchronously by calling a given callback function.

Introduced: X13.

<void> TXTextControl.saveSelection(<StreamType> streamType, <SaveDocumentResultCallback> callback)


Parameter Description
streamType Specifies one of the StreamType values.
callback A function with one parameter. Is called with an argument object of type SaveDocumentResult containing the selection content after the selection has been saved successfully.