10350 Santa Monica Blvd. Suite 285, Los Angeles, CA 90025
Phone: 310-691-8920, 310-788-9840, Fax: 419-735 -2419
Card Scanning Solutions
23
Remarks
Use this function to extract the image rectangle of the person’s face from the source id image. The
source image can be one of two:
Internal image
: The last scanned image (stored in the internal memory). This image will be used only
if the
SourceFileName
string is empty
External image file
: The full file name is given in
SourceFileName
parameter. If an external file is
used as the source image it must be a 24 bit image (true color) and have a resolution of 300dpi. The
source and file destination can be one of the following formats: BMP, TIFF, JPG, PCX, TGA, PNG,
PSD.
To set the image format use the proper file extension (
xxx.bmp
for bitmap,
xxx.jpg
for Jpeg, etc.)
1.1.22.
GetFirstCountry
Format
Return value
The constant value of the first country in the countries list.
Remarks
Use this function to get the first country in the countries list. Combining this
function with the function
GetNextCountry
allow you to obtain the constant
values of all supported countries. The countries constant values in the Region
ARE NOT always consecutive and should be obtained using the function
GetNextCountry.
1.1.23.
GetFirstStateByCountry
Format
Parameters
[in]
country
– Constant value of the country
Return
ID_ERR_NO_MATCH
: Bad country constant.
Otherwise, the function return the constant value of the first state in the country.
Remarks
Use this function to retrieve the first state constant in the country.
GetFirstCountry( ) As Long
GetFirstStateByCountry
(
country
As Integer) As Long