Leadtools.Codecs Namespace > RasterCodecs Class : GeoKeyFound Event |
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
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.
Property | Description |
---|---|
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. |
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.