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
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2