Indicates whether LEADDocument should dispose of the stream passed to DocumentFactory.LoadFromStream.
public bool AutoDisposeStream {get; set;}
public:
property bool AutoDisposeStream
{
bool get()
void set(bool value)
}
AutoDisposeStream # get and set (LEADDocument)
true if LEADDocument should dispose of the stream passed to DocumentFactory.LoadFromStream; otherwise, false. The default value is false.
This property controls the ownership of the stream parameter passed to DocumentFactory.LoadFromStream.
The LEADDocument class will use the stream members to read the various parts (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 of. When the document is disposed of, the stream is no longer used and can be closed or disposed of by the user. If the value of LEADDocument.AutoDisposeStream is set to true (the default is false), then ownership of the stream is passed to the LEADDocument object and stream will be automatically disposed of when the document itself is disposed of.
The value of stream will be stored in the LEADDocument.Stream property when this method successfully returns.
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.