beautypg.com

Getimageweb method, Getindexvalue method – MagTek Excella API OCX99875557 User Manual

Page 11

background image

7

GETIMAGEWEB METHOD
Gets the image data results from a previous scan.


Syntax

Result =MTEXCELLAAPI1. GetImageWeb ( ByVal lpszDeviceName As String, ByVal
lpszImageID As String, ByVal lpszImageFile As String, ByRef lpszImageBuffer As Variant, ByRef
lplImageSize As Variant
) as Long

Part

Description

lpszDeviceName

A string that specifies the name of the device.

lpszImageID

A string that specifies the identification of the requested image.

lpszImageFile

A string that contains the path and name of the file to save the image.

lpszImageBuffer

A buffer for storing the image data.

lplImageSize

Specifies the size of the

lpszImageBuffer

.


Remarks

GetImageWeb functions identically to GetImage. GetImageWeb is intended to be used for
webpage applications.


Data Type

Long



GETINDEXVALUE METHOD
Retrieves a key/value pair that was previously stored in the Document Information.


Syntax

Result =Result = MTEXCELLAAPI1.GetIndexValue (ByVal lpszOptions As String, ByVal
lpszSection As String, ByVal lpszKey As String, ByVal lpiIndex As Long, ByRef lpszResult As
String, ByRef lplBufferSize As Long
) as Long

Part

Description

lpszOptions

A string that specifies all the key/value pairs.

lpszSection

A string containing the section name.

lpszKey

A string containing the key name.

lpiIndex

The key index number.

lpszResult

The buffer that receives the retrieved value.

lplBufferSize

The size of the result buffer.