This member of Class WaveLinkBarcode is supported on iOS, Windows Mobile, Windows CE, Palm, and DOS.
The StoreBarcode Method stores the specified barcode configuration to the current device.
Syntax
public void StoreBarcode(String fileName, int defaultFlag)
throws WaveLinkError,
IllegalArgumentException
Parameters
fileName |
The barcode configuration file |
defaultFlag |
The default action to take with barcode definitions not specified |
Throws
WaveLinkError
IllegalArgumentException
Remarks
The possible defaultFlag values are:
BCDISABLED |
All barcodes not defined within the WaveLinkBarcode object is disabled and is not be decoded for input |
BCENABLED |
All barcodes not defined within the WaveLinkBarcode object is enabled and is not decoded for input |
NO_DEFAULT |
The default state for barcodes not defined within the WaveLinkBarcode remains unchanged |
To use the current WaveLinkBarcode object with an RFInput call, you must first save the barcode object to the device using the StoreBarcode Method.
Example
WaveLinkBarcode barIface = new WaveLinkBarcode();
Try {
barIface.PushBarcode("Defltbar");
barIface.ClearBarcodes();
barIface.AddBarcode( WaveLinkBarcode.CODE_39, false, true, 1, 32 );
barIface.AddBarcode( WaveLinkBarcode.UPC_A, false, true, 1, 32 );
barIface.StoreBarcode("CycCtBar", WaveLinkBarcode.BCENABLED);
}
catch (WaveLinkError wlErr) {
//Do error handling
}
// You can use the CycCtBar barcode configuration in an input call such as RFInput.
Was this article useful?
The topic was:
Inaccurate
Incomplete
Not what I expected
Other