Gettifftagnumbyindex method – MagTek MTMICRImage User Manual

Page 23

Advertising
background image

Methods

19

Example

txtTagOutput.Text = MICRImage.GetTiffTagByNumber(txtFileName.Text, txtTagNum.Text,
txtIFD.Text)

Data Type

String

GETTIFFTAGNUMBYINDEX METHOD
Returns a Long Integer containing the Tag Number specified by its Index Number (1 based) or 0
if the Tag does not exist.

Syntax

MICRImage.GetTiffTagByNumber(FileToSearch As String, ByVal IndexNum 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)

IndexNum

The specific TagIndex to return
(1 Based)

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

TagNum = MICRImage.GetTiffTagNumByIndex(txtFileName.Text, i, txtIFD.Text)

Data Type

String

Advertising