This member of RFBarcode Object is supported on Windows Mobile, Windows CE, Palm, and DOS.
The SetBarcodeType method defines the barcode type for an existing barcode configuration within an RFBarcode object.
VB
bStatus = object.SetBarcodeType (nType, nBarcode)
VC++
HRESULT hr = object->SetBarcodeType(short nType, short nBarcode, BOOL *bStatus);
Return Value
bStatus |
The status of the function returned as Boolean True or False values. Use the RFGetLastError method to return the error value. |
Parameters
nType |
The barcode type. The possible values are: CODE_39 UPC_A UPC_E0 EAN_13 EAN_8 CODE_D25 CODE_I25 CODABAR CODE_128 CODE_93 CODE_11 MSI UPC_E1 WLNOSYMBOLOGY |
nBarcode |
The zero based index value barcode configuration whose type is to be altered. For example, to alter the type for the third barcode configuration in the current RFBarcode object you would pass a 2. |
Remarks
To alter the type 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 RFBarcode object within the application, then use SetBarcodeType.
Was this article useful?
The topic was:
Inaccurate
Incomplete
Not what I expected
Other