Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.8.30
|
Leadtools.Codecs Namespace > RasterCodecs Class : RedirectClose Event |
public event EventHandler<CodecsRedirectCloseEventArgs> RedirectClose
'Declaration
Public Event RedirectClose As EventHandler(Of CodecsRedirectCloseEventArgs)
'Usage
Dim instance As RasterCodecs Dim handler As EventHandler(Of CodecsRedirectCloseEventArgs) AddHandler instance.RedirectClose, handler
public event EventHandler<CodecsRedirectCloseEventArgs> RedirectClose
synchronized public void addRedirectCloseListener(CodecsRedirectCloseListener listener) synchronized public void removeRedirectCloseListener(CodecsRedirectCloseListener listener)
add_RedirectClose(function(sender, e)) remove_RedirectClose(function(sender, e))
public: event EventHandler<CodecsRedirectCloseEventArgs^>^ RedirectClose
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 closing a file, set your own subscribe to this event then call the StartRedirecting method.