StreamType Enumerations
Description
Supported document stream formats exposed by the viewer.
Syntax
StreamTypeExamples
The following example applies TXDocumentViewer.StreamType in a practical Document Viewer workflow.
async function exportCompletedFormAsPdf() {
const saveSettings = {
mergeFormFields: true,
embedAnnotations: true
};
const saveResult = await TXDocumentViewer.saveDocument(
TXDocumentViewer.StreamType.AdobePDF,
saveSettings
);
const documentBase64 = await saveResult.base64();
console.log("Exported PDF characters:", documentBase64.length);
return documentBase64;
}Members
Enumerations
| Enumeration | Description |
|---|---|
| StreamType | Supported document stream formats exposed by the viewer. |