Replaces the normal LEADTOOLS method for opening a file.
public event EventHandler<CodecsRedirectOpenEventArgs> RedirectOpen
Public Event RedirectOpen As EventHandler(Of CodecsRedirectOpenEventArgs)
synchronized public void addRedirectOpenListener(CodecsRedirectOpenListener listener)
synchronized public void removeRedirectOpenListener(CodecsRedirectOpenListener listener)
public:
event EventHandler<CodecsRedirectOpenEventArgs^>^ RedirectOpen
The event handler receives an argument of type CodecsRedirectOpenEventArgs containing data related to this event. The following CodecsRedirectOpenEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Access | Gets the requested mode that determines how the file can be accessed. |
You can redirect all the toolkit I/O methods to your own I/O methods to load/save images from your own streams.
To replace the normal method for opening a file, set your own subscribe to this event then call the StartRedirecting method.
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