Default Method

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

The Default returns the default decode state for all barcode types except those explicitly defined within the current RFBarcode object.

VB

nDefault = object.Default()

VC++

HRESULT hr = object->Default(short *nDefault);

Return Value

nDefault

The default decode state variable. This method will return RF a -1 if an error occurs. Use the RFGetLastError to return the generated error message. The possible default decode states are:

BCDISABLED All barcodes not defined within the RFBarcode object will be disabled and will not be decoded for input.

BCENABLED All barcodes not defined within the RFBarcode object will be enabled and will be decoded for input.

NO_DEFAULT The default state for barcodes not defined within the RFBarcode will remain unchanged.

Remarks

The default state for barcodes not defined within the RFBarcode object will be set using the StoreBarcode Method. Therefore, you must be sure that the current RFBarcode object has first been saved to an RF device before attempting to return the default decode state.

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal