ScannedBitmap

Description

Retrieves a Windows bitmap image from the most recent scan.

Applies to

BiometricScanner objects

Syntax

Integer scanner.ScannedBitmap ( data {, height, width} )

Argument

Description

scanner

The scanner object associated with the device you want to use to complete a scan

data

Blob value for the image passed by reference

height

Integer value in pixels for the height of the scanned image (not implemented by the HPBiometricScanner object)

width

Integer value in pixels for the width of the scanned image (not implemented by the HPBiometricScanner object)

Returns

Integer. Returns 1 for success or a negative value if an error occurs. For a list of possible errors and their definitions, see ScanCapture.

Usage

The ScannedBitmap function provides visual feedback about the actual fingerprint scanned. This function is not used in verification calculations—it has no algorithmic purpose.

For HPBiometricScanner objects, use the syntax with the data argument only.

Examples

Example 1

The following example passes the scanned image to a local variable with a blob datatype, and uses the default image size:

li_rtn = l_bioscanner.ScannedBitmap(lb_mydata)

See also