Downloads the data of the specified document URI into a stream.
The cache containing the document. This value cannot be null.
The URI of the document to download.
0-based byte offset into the source data at which to begin reading the data.
The maximum number of bytes to read. If this value is -1, then the remaining data will be read till the end is reached.
Stream to read the data into. This should be a write-able stream and cannot be null.
The total number of bytes read into stream. This can be less than the number of bytes requested by bytes if that many bytes are not currently available, or zero (0) if the end of the data has been reached.
Similar to UploadDocument, data can be downloaded in chunks or all at once. Refer to Uploading Using the Document Library for detailed information on how to use these methods and the various options used.
GetDocumentCacheInfo can be used to determine if a document is in the cache and to get its information.
DownloadAnnotations can be used to download the annotations of a document (if any).
For an example, refer to DownloadDocument(ObjectCache,string,long,int,Stream).
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries