GetTagType method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

Word __fastcall GetTagType(Word uTag);

Delphi Syntax

GetTagType (uTag : word): word;

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

Elements:

EnumTags method, OnEnumTags event, GetTagCount method, GetTagData method, ReadTag method, SetTag method, WriteTag method, Comment property, Save method

Topics:

Raster Images: Getting and Setting File Information