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 : TagFound Event |
public event EventHandler<CodecsEnumTagsEventArgs> TagFound
'Declaration
Public Event TagFound As EventHandler(Of CodecsEnumTagsEventArgs)
'Usage
Dim instance As RasterCodecs Dim handler As EventHandler(Of CodecsEnumTagsEventArgs) AddHandler instance.TagFound, handler
public event EventHandler<CodecsEnumTagsEventArgs> TagFound
synchronized public void addTagFoundListener(CodecsTagFoundListener listener) synchronized public void removeTagFoundListener(CodecsTagFoundListener listener)
add_TagFound(function(sender, e)) remove_TagFound(function(sender, e))
public: event EventHandler<CodecsEnumTagsEventArgs^>^ TagFound
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.
Property | Description |
---|---|
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. |
This event will fire for each tag found in the file as a result of calling EnumTags.
Do not attempt to use DeleteTag 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, you can delete all the tags from the list.