Downloads the document data from the cache.
downloadDocumentData = function(
documentId,
uri,
includeAnnotations
)
static downloadDocumentData(
documentId: string,
uri: string,
includeAnnotations: boolean
): JQueryPromise<number[]>;
documentId
The document ID to download. This can be null.
uri
The URL to the resource to download. This can be null.
includeAnnotations
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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document