Loads a document from memory into the DocumentViewer. The document must be passed as an Base64 encoded string. The format is recognized automatically.

Introduced: X14.

<void> TXDocumentViewer.loadDocument(<string> documentData, <string> documentName);

Parameters

Parameter Description
documentData The document encoded as a Base64 string. Supported formats are TX, DOC, DOCX, PDF, RTF and HTML.
documentName The document name that is displayed in the status bar.