Loads text in a certain format into the current selection.
<void> Selection.load(<StreamType> streamType, <string> base64Data, [<EmptyRequestCallback> callback], [<LoadSettings> loadSettings], [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
stream |
Document format. |
base64Data | Base64 encoded document data. |
callback | Optional. Is called when the operation completed. |
load |
Optional. Additional settings for loading the data. |
error |
Optional. Is called when the operation failed with an error. |