Enumerates all the GeoKeys in a Geo TIFF stream.
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
)
stream
A ILeadStream containing the input image data.
pageNumber
1-based index of the page from which to enumerate the tags.
An asynchronous enumeration operation on a RasterCodecs object.
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).
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET