ReadTag method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int __fastcall ReadTag(char * pszFile, int lPage, Word uTag);

Delphi Syntax

ReadTag (pszFile: PCHAR; lPage: LongInt; uTag: word): Integer;

Overview

Refer to Implementing TIFF Tags

Remarks

Reads the specified tag from the specified file. The tag will be set as tag 0 in the control’s internal tag list. Once read, the type, number of data values and actual data values can be retrieved using the GetTagType method, the GetTagCount method and the GetTagData method.

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

See Also

Elements:

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

Topics:

Raster Images: Getting and Setting File Information