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
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2