←Select platform

GeoKeyFound Event

Summary

Occurs once for each GeoKey enumerated by the EnumGeoKeys method.

Syntax

C#
VB
Java
WinRT C#
C++
public event EventHandler<CodecsEnumGeoKeysEventArgs> GeoKeyFound 
Public Event GeoKeyFound As EventHandler(Of CodecsEnumGeoKeysEventArgs) 
public event EventHandler<CodecsEnumGeoKeysEventArgs> GeoKeyFound 
synchronized public void addGeoKeyFoundListener(CodecsGeoKeyFoundListener listener) 
synchronized public void removeGeoKeyFoundListener(CodecsGeoKeyFoundListener listener) 
             
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.
Cancel Gets or sets a value which allows the user to abort the enumeration process.
Count Gets the number of items in Buffer.
Id Gets the GeoKey ID identifying the GeoTIFF key.
MetadataType Gets the type of GeoKey.
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly