Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
TagFound Event
See Also 
Leadtools.Codecs Namespace > RasterCodecs Class : TagFound Event



Occurs during the TIFF tag enumerated by the EnumTags method.

Syntax

Visual Basic (Declaration) 
Public Event TagFound() As EventHandler(Of CodecsEnumTagsEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
Dim handler As EventHandler(Of CodecsEnumTagsEventArgs)
 
AddHandler instance.TagFound, handler
C# 
public event EventHandler<CodecsEnumTagsEventArgs> TagFound()
C++/CLI 
public:
event EventHandler<CodecsEnumTagsEventArgs>^ TagFound();

Example

For an example, refer to EnumTags.

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.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also