Autodetectstateex - CSSN ScanShell 2000 Description

Sdk library
Hide thumbs Also See for ScanShell 2000:
Table of Contents

Advertisement

10350 Santa Monica Blvd. Suite 285, Los Angeles, CA 90025
Phone: 310-691-8920, 310-788-9840, Fax: 419-735 -2419
1.1.18.

AutoDetectStateEx

Format
AutoDetectStateEx
(Reserved
Parameters
Reserved
[in]
– Null terminated empty string - reserved. This parameter is not used.
[out] angle – Return the amount of clockwise 90 degrees turns that the image was rotated to be aligned
horizontally.
Return
LIC ENS E_INVALID: The license is invalid. All scanner operations are disabled.
ID_ERR_USA_TEMPLATES_NOT_FOUND: The template database file for the USA states
(UsaIds.bin) is missing. The file should be located in the SDK files location.
INVALID_INTERNAL_IMAGE – No internal image is loaded. This value return when attempting to
use this function without scanning an image first.
ID_ERR_STATE_NOT_SUPORTED : The license image doe not match any state template.
ID_ERR_STATE_NOT_RECOGNIZED : The license image doe not mat ch any state template.
If non of the above error values is returned, the function return the state id value.
Remarks
Use this function to automatically align the internal image horizontally and then to detect the. If the
function returns with non of the above error values then the return value is the state id. This value can
be assigned to the input parameter IdState in the function
loads in the parameter angle one of the followi n g values:
ANGLE_0: The image was received in the proper alignment.
ANGLE_90: The image was rotated once in 90 degrees (clockwise).
ANGLE_180: The image was rotated twice in 90 degrees (clockwise).
ANGLE_270: The image was rotated three times in 90 degrees (clockwise).
You can dump the rotated image from the internal buffer to a file using the function
Card Scanning Solutions
As String,
angle
As Long) As Long
ProcState
for data extraction. The function
RotateImage
20

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ScanShell 2000 and is the answer not in the manual?

Questions and answers

Related Products for CSSN ScanShell 2000

Table of Contents