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



Occurs once for each GeoKey enumerated by the EnumGeoKeys method.

Syntax

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

Example

Refer to EnumGeoKeys.

Remarks

This event will fire for each GeoKey found in the file as a result of calling EnumGeoKeys.

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 EnumGeoKeys, 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