GetTagData method (ILEADRasterIO)

Visual Basic Example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

ILEADRasterVariant * GetTagData (long lTag);

Overview

Refer to Implementing TIFF Tags

Remarks

Returns the data associated with the specified tag.

The number of values in the array can be retrieved using GetTagCount method. The type of values can be retrieved using GetTagType method. Note that if the type is TAG_RATIONAL, then each element is represented with two LONG values: the numerator and denominator. So for a Rational tag, you have twice as many entries in the array: the even index elements in the array contain the numerators and the odd indexes contain the denominators.

For more information on setting tags, refer to the SetTag method.

See Also

Functions:

DeleteTag , EnumFileTags method, EnumTags event, StopFireEnumTags property, GetTagCount method, GetTagType method, ReadTag method, SetTag method, WriteTag method, Comment property, Save method

Topics:

Raster Images: Getting and Setting File Information