TX Text Control .NET Server

Javascript: DocumentViewerElement.saveDocument Method

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

ParameterDescription
streamType

Optional. Requested output format.

settings

Optional. Form-field and annotation embedding options.

Return Value

Result used to read the saved document data.