Transmitcurrentimage method – MagTek MTMICRImage User Manual

Page 21

Advertising
background image

Methods

17

TRANSMITCURRENTIMAGE METHOD

Returns:
TransmitCurrentImage = 0
StatusMsg "OK"

TransmitCurrentImage = -1
StatusMsg "Failed - TimeOut"

TransmitCurrentImage = -2
StatusMsg "Failed - File Exists"

TransmitCurrentImage = -3
StatusMsg "Failed - No Image Ready"

or VB Err.Number
and StatusMsg = Err. Description

Syntax

MICRImage.TransmitCurrentImage(ByVal ImgFileName As String, ByRef StatusMsg As
String, Optional MTParams As Variant) As Long

The TransmitCurrentImage method syntax has these parts:

Part

Description

ImgFileName

The File name specified (can be
UNC)

StatusMsg

The Status Message variable
passed in. Used to return the
Status message of the operation

MTParams

(Optional) can be used to
specify snippets or Tags. Do
not use it to override the image
transfer properties MAIN or
AUX or the Transfer type.
These are handled by the OCX


Example

Status = MICRImage.TransmitCurrentImage(ImageFileName, StatusMsg)

Data Type

String

Advertising