LEADTOOLS Image File Support (Leadtools.Codecs assembly)

GeoKeyFound Event

Show in webframe







Occurs once for each GeoKey enumerated by the EnumGeoKeys(String,Int32) method.
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

            
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(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

See Also

Reference

RasterCodecs Class
RasterCodecs Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.