Downloads the document data from the cache.
The document ID to download. This can be null.
The URL to the resource to download. This can be null.
true to download the document annotations (if any) as well.
A Promise object that may resolve successfully to an array of bytes.
DownloadDocumentData can be used to download the data of a LEADDocument stored in the cache or the output file from a conversion result.
If the value of documentId is not null, then the data of the main file of the document will be downloaded. This is the content of the original PDF or DOCX file if the document was uploaded from a PDF file or DOCX file respectively.
If the value of uri is not null, then this is assumed to contain a URL to a LEAD cache identifier containing the document.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries