Enumtifftags method, Gettifftagbynumber method – MagTek MTMICRImage User Manual

Page 22

Advertising
background image

MTMicrImage.OCX

18

ENUMTIFFTAGS METHOD
Returns a 1 based Variant Array of all the TIFF Tags in the IFD (Inter-File Directory)

Syntax

MICRImage.EnumTiffTags(FileToSearch As String, ByVal IFDNumber As Long) As String

The EnumTiffTags method syntax has these parts:

Part

Description

FileToSearch

The path and file name of the
file to be searched (can be
UNC)

IFDNumber

The Inter File Directory to be
searched. Files with 1 image
will have 1 IFD. Files with n
Images will have n IFDs


Example

ReturnVal = MICRImage.EnumTiffTags(txtFileName.Text, txtIFD.Text)

If IsArray(ReturnVal) Then

FieldCount = UBound(ReturnVal)

Data Type

String

GETTIFFTAGBYNUMBER METHOD
Returns a string representation of the value stored in the TIFF Tag specified or an empty String.

Syntax

MICRImage.GetTiffTagByNumber(FileToSearch As String, ByVal TagNum As Long, ByVal
IFDNumber As Long) As String

The GetTiffTagByNumber method syntax has these parts:

Part

Description

FileToSearch

The path and file name of the
file to be searched (can be
UNC)

TagNum

The specific TagNumber to
return

IFDNumber

The Inter-File Directory to
search. Files with 1 image will
have 1 IFD. Files with n Images
will have n IFDs

Advertising