LEADTOOLS Image File Support (Leadtools.Codecs assembly)

TagFound Event

Show in webframe







Occurs during the TIFF tag enumerated by the EnumTags(String,Int32) method.
Syntax
'Declaration
 
Public Event TagFound As EventHandler(Of CodecsEnumTagsEventArgs)
'Usage
 
Dim instance As RasterCodecs
Dim handler As EventHandler(Of CodecsEnumTagsEventArgs)
 
AddHandler instance.TagFound, handler

            
synchronized public void addTagFoundListener(CodecsTagFoundListener listener)
synchronized public void removeTagFoundListener(CodecsTagFoundListener listener)
            
add_TagFound(function(sender, e))
remove_TagFound(function(sender, e))

Event Data

The event handler receives an argument of type CodecsEnumTagsEventArgs containing data related to this event. The following CodecsEnumTagsEventArgs properties provide information specific to this event.

PropertyDescription
Cancel Gets or sets a value which allows the user to abort the enumeration process.
Count Gets the number of elements.
Id Gets the tag id.
MetadataType Gets the tagged data type.
Remarks

This event will fire for each tag found in the file as a result of calling EnumTags(String,Int32).

Do not attempt to use DeleteTag(String,Int32,Int32) to delete tags from inside this event. If you want to delete tags that you enumerate, use this event to add the tags to a list. Upon returning from EnumTags(String,Int32), you can delete all the tags from the list.

Example
For an example, refer to EnumTags(String,Int32).
Requirements

Target Platforms

See Also

Reference

RasterCodecs Class
RasterCodecs Members

 

 


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