LEADTOOLS Image File Support (Leadtools.Codecs assembly)

RedirectClose Event

Show in webframe







Replaces the normal LEADTOOLS method for closing a file.
Syntax
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
Remarks

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.

Example
For an example, refer to StartRedirecting
Requirements

Target Platforms

See Also

Reference

RasterCodecs Class
RasterCodecs Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.