Javascript: TXTextControl.Selection.save Method

For a detailed description of this function see saveSelection.

Syntax

<void> Selection.save(<StreamType> streamType, <function> callback);
Parameter Description
streamType

Specifies one of the StreamType values.

callback

A function with one parameter. Is called with an object of type SaveDocumentResult containing the selection content after the selection has been saved successfully.

See Also