←Select platform

GeoKeyFound Event

Summary

Occurs once for each GeoKey enumerated by the EnumGeoKeys method.

Syntax
C#
VB
C++
Java
public event EventHandler<CodecsEnumGeoKeysEventArgs> GeoKeyFound 
Public Event GeoKeyFound As EventHandler(Of CodecsEnumGeoKeysEventArgs) 
synchronized public void addGeoKeyFoundListener(CodecsGeoKeyFoundListener listener) 
synchronized public void removeGeoKeyFoundListener(CodecsGeoKeyFoundListener listener) 
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.

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.

Example

Refer to EnumGeoKeys.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly