LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

TagFound Event






Occurs during the TIFF tag enumerated by the EnumTags(String,Int32) method. .NET support WinRT support Silverlight support
Syntax
'Declaration
 
Public Event TagFound As EventHandler(Of CodecsEnumTagsEventArgs)
'Usage
 
Dim instance As RasterCodecs
Dim handler As EventHandler(Of CodecsEnumTagsEventArgs)
 
AddHandler instance.TagFound, handler
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. .NET support WinRT support Silverlight support
Count Gets the number of elements. .NET support WinRT support Silverlight support
Id Gets the tag id. .NET support WinRT support Silverlight support
MetadataType Gets the tagged data type. .NET support WinRT support Silverlight support
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterCodecs Class
RasterCodecs Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.