Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
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()
Managed Extensions for 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also