Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
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()
Managed Extensions for 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 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