GetTagType method (Main Control)

Visual Basic Example
Visual C++ 4.0 Example

Syntax short GetTagType (long lTag);

Overview:  Refer to Implementing TIFF Tags

Remarks

Returns the data type of the specified tag.

If the tag type is rational, then each element is represented by two longs. Otherwise, the size of each element is indicated by its type. (An element of type TAG_LONG is type long. An element of type TAG_SHORT is type short. etc.)

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

See Also

Functions: GetTagCount method, GetTagData method, ReadTag method, SetTag method, WriteTag method, Comment property, Save method

Topics:  Raster Images: Getting and Setting File Information