←Select platform

EnumGeoKeysAsync Method

Summary

Enumerates all the GeoKeys in a Geo TIFF stream.

Syntax

C#
VB
WinRT C#
C++
public IAsyncAction EnumGeoKeysAsync(  
   ILeadStream stream, 
   int pageNumber 
) 
Public Function EnumGeoKeysAsync( _ 
   ByVal stream As ILeadStream, _ 
   ByVal pageNumber As Integer _ 
) As IAsyncAction 
public IAsyncAction EnumGeoKeysAsync(  
   ILeadStream stream, 
   int pageNumber 
) 
 function Leadtools.Codecs.RasterCodecs.EnumGeoKeysAsync(  
   stream , 
   pageNumber  
) 
public: 
IAsyncAction^ EnumGeoKeysAsync(  
   ILeadStream^ stream, 
   int pageNumber 
)  

Parameters

stream
A ILeadStream containing the input image data.

pageNumber
1-based index of the page from which to enumerate the tags.

Return Value

An asynchronous enumeration operation on a RasterCodecs object.

Remarks

To enumerate all the keys stored in a disk file, use EnumGeoKeys.

For multi-page Geo TIFF files, you can enumerate the GeoKeys from a particular page. Specify the page number whose GeoKeys to enumerate.

The GeoKeyFound event is called for each GeoKey value stored in the three standard Geo TIFF tags (34735, 34736 and 34737). For enumerating the other standard Geo TIFF data stored as separate tags, you can use EnumTags. Or, you can call ReadTag for each of these tags (since there are not that many of them to warrant the use of EnumTags).

For more information, refer to Implementing GeoKeys (GeoTIFF tags).

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