Gets the original document stream.
public Stream Stream {get;}
Public ReadOnly Property Stream() As System.IO.Stream
Get
public:
property System::IO::Stream^ Stream
{
System::IO::Stream^ get()
}
public InputStream getStream()
Original document stream.
Stream contains the original value passed to DocumentFactory.LoadFromStream; otherwise, the value will be null.
The LEADDocument class will use the stream members to read the various parts of the stream, such as the images and metadata, on demand as needed. It is the user's responsibility to keep the stream alive while the document is not disposed. When the document is disposed, the stream is no longer used and can be closed or disposed by the user.
If the document is saved into the cache using SaveToCache, then the entire content of the stream is saved into the cache and the stream is no longer used and can be safely disposed by the user. When the document is later re-loaded from the cache using DocumentFactory.LoadFromCache, then it is treated as if it was downloaded from an external resource and the stream functionality is not used (the value of Stream will be null).
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