GetDecode Method

This member of RFBarcode Object is supported on iOS, Windows Mobile, Windows CE, Palm, and DOS.

The GetDecode method returns the decode state for a specific barcode configuration within the current RFBarcode object.

VB

nDecode = object.GetDecode (nBarcode)

VC++

HRESULT hr = object->GetDecode(short nBarcode, short *nDecode);

Return Value

nDecode

The barcode configuration decode state variable. This method will return a -1 if an error occurs. Use the RFGetLastError to return the generated error code.

The possible values are:

DECODEON The barcode configuration will be decoded when scanned and is valid for input.

DECODEOFF The barcode configuration will not be decoded when scanned and will not be accepted for input.

Parameters

nBarcode

The zero based index value of the specified barcode configuration. The RFBarcode object has a zero based index. For example, to return the decode state for the third barcode configuration in the current RFBarcode object you would pass a 2.

Remarks

To return the decode state for a barcode configuration stored within a barcode file on an RF device, first use the GetBarcodeFile Method to set the barcode file as the current barcode object, then use GetDecode.

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal