ReadTag method (ILEADRasterIO)

Visual Basic Example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short ReadTag (LPCTSTR pszFile, long lPage, long lTag);

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

Functions:

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

Topics:

Raster Images: Getting and Setting File Information