Javascript: DocumentViewerElement.saveDocument Method
Description
Starts saving the current document and returns a DocumentSaveResult. Its base64() or arrayBuffer() method returns the saved data asynchronously.
Syntax
<DocumentSaveResult> DocumentViewerElement.saveDocument([<StreamType> streamType], [<DocumentSaveSettings> settings])Parameters
| Parameter | Description |
|---|---|
| streamType | Optional. Requested output format. |
| settings | Optional. Form-field and annotation embedding options. |
Return Value
Result used to read the saved document data.