10350 Santa Monica Blvd. Suite 285, Los Angeles, CA 90025
Phone: 310-691-8920, 310-788-9840, Fax: 419-735 -2419
Card Scanning Solutions
32
1.1.38.
GetRawField
Format
Parameters
[in]
Index
– An Integer that holds the value of the requested field.
[out]
Value
– A string that holds the returned value indicated by
Index
..
Return
If function succeeds, the return value
is BC_ERR_NONE
.
If function fails, the return value is BC_ERR_BAD_PARAM to indicate that the value passes by
Index
is not a valid field index.
Remarks
AAMVA National standard defines 51-field type that might be encoded in the PDF417 bar code image.
Each one of the fields may be retrieved from the image using the filed index specified in section 1.1.43.
If the field is populated its value is retrieved and copied to
Value.
If the field is empty (or not
implemented on the image) the parameter
Value
is set to be empty string. The maximum field size may
be up to 60 characters long. Its important to understand that the fields are populated differently in
different states. For example, The field NAME is populated in field index BCF_NAME for Alabama
driver license, and the same field is populated in field index BCF_DRIVER_LAST_NAME for
Delaware driver license. The raw field range from BCF_NAME (0) to BCF_AKA_PREFIX (50)
In addition to the raw fields, the CBarCode offers an additional set of fields (range from
BCF_EMUL_FULL_NAME to BCF_EMUL_SSN). These fields are generated after the raw fields are
loaded. The fields uniform the data extraction by copying the data from the raw fields and diverting it
while considering its originated state type. This removes the developer the burden of knowing the state
type and the way the data is handled in this particular state.
1.1.39.
GetRawData
Format
Parameters
[out]
Buffer
– A string that holds the returne d value..
Return
No return value.
Remarks
This function returns the extracted text data in one bulk as detected by the bar code analyzer. The data
is returned, “as is” with no parsing or additional processing. This function is useful for retrieving data
from general purpose bar code images.
GetRawField
(
Index
As Integer,
Value
As String) As Long
GetRawData
(
Buffer
As String)