←Select platform

TagFound Event

Summary

Occurs during the TIFF tag enumerated by the EnumTags method.

Syntax

C#
VB
Java
WinRT C#
C++
public event EventHandler<CodecsEnumTagsEventArgs> TagFound 
Public Event TagFound As EventHandler(Of CodecsEnumTagsEventArgs) 
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 

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.

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.

Example

For an example, refer to EnumTags.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly