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

GeoKeyFound Event






Occurs once for each GeoKey enumerated by the EnumGeoKeys(String,Int32) method. .NET support WinRT support Silverlight support
Syntax
public event EventHandler<CodecsEnumGeoKeysEventArgs> GeoKeyFound
'Declaration
 
Public Event GeoKeyFound As EventHandler(Of CodecsEnumGeoKeysEventArgs)
'Usage
 
Dim instance As RasterCodecs
Dim handler As EventHandler(Of CodecsEnumGeoKeysEventArgs)
 
AddHandler instance.GeoKeyFound, handler
public event EventHandler<CodecsEnumGeoKeysEventArgs> GeoKeyFound
add_GeoKeyFound(function(sender, e))
remove_GeoKeyFound(function(sender, e))

public:
event EventHandler<CodecsEnumGeoKeysEventArgs^>^ GeoKeyFound
Event Data

The event handler receives an argument of type CodecsEnumGeoKeysEventArgs containing data related to this event. The following CodecsEnumGeoKeysEventArgs properties provide information specific to this event.

PropertyDescription
Buffer Gets a pointer to the unmanaged memory containing the GeoKey data. .NET support WinRT support Silverlight support
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 items in Buffer. .NET support WinRT support Silverlight support
Id Gets the GeoKey ID identifying the GeoTIFF key. .NET support WinRT support Silverlight support
MetadataType Gets the type of GeoKey. .NET support WinRT support Silverlight support
Remarks

This event will fire for each GeoKey found in the file as a result of calling EnumGeoKeys(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 EnumGeoKeys(String,Int32), you can delete all the tags from the list.

Example
Refer to EnumGeoKeys(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.