Saves the loaded document in a specific format and with certain settings.

<Promise<DocumentSaveResult>> TXDocumentViewer.saveDocument(<StreamType> streamType, <DocumentSaveSettings> settings);

Parameters

Parameter Description
streamType Specifies the output format of the document.
settings Specifies additional settings and options for saving the document.