Javascript: TXTextControl.loadSelection Method

Loads text in a certain format into the current selection.

Introduced: 23.0.

Syntax

<void> TXTextControl.loadSelection(<StreamType> streamType, <String> base64Data);
Parameter Description
streamType

Specifies one of the numerical StreamType values.

base64Data

Base64 encoded document data.

Example

For an example on how to use this function have a look at the description of the loadDocument function.

See Also