|
BarcodeDecoder Properties |
BarcodeTypes Property
Returns or sets what types of barcodes should be decoded. Each barcode type is specified with the help of a certain
EBarcodeTypes value. The BarcodeTypes property can consist of any combination of these values, you should use the
logical OR for that.
Syntax
object.BarcodeTypes [ = BarcodeTypesValue ]
Possible Values
| BarcodeTypesValue | Integer that contains the combination of EBarcodeTypes. |
The property is read/write.
Remarks
It is advisable to set this property when you need to decode only certain barcode types (for instance,
only Code128 and EAN-13) because it increases the performance rate and the reliability of the decoding
algorithm.
Example
[Script]
var dec = new ActiveXObject("BarcodeReader.BarcodeDecoder");
dec.BarcodeTypes = 0x04|0x08; //decode only Interleaved 2/5 and EAN-13
[Visual Basic]
Dim dec As Object
Set dec = CreateObject("BarcodeReader.BarcodeDecoder")
dec.BarcodeTypes = &H1 Or &H8 Or &H80 'decode only Code128, EAN13 and UPCA
|
LinearFindBarcodes Property
Returns or sets how many barcodes should be decoded on the image. An image may contain one or several barcodes.
Syntax
object.LinearFindBarcodes [ = iLinearFindBarcodes ]
Possible Values
| iLinearFindBarcodes | Integer from 1 to any value |
The property is read/write.
Remarks
If you need to decode only one barcode, it is better to set this property to 1 because it will make the decoding process faster.
|
LinearShowSymbologyID Property
Returns or sets the value determining whether to add Symbology ID to the barcode text or not (Text property).
Syntax
object.LinearShowSymbologyID [ = bLinearShowSymbologyID ]
Possible Values
| bLinearShowSymbologyID | Boolean that specifies or receives the LinearShowSymbologyID |
The property is read/write.
Remarks
For instance, if it is set to False, the Text property will be "6416764501020" in case you decode an EAN-13 barcode.
If LinearShowSymbologyID is set to True, it will be "]E06416764501020".
As you can see, the barcode begins with "]E0", which is the ID of an EAN-13 barcode.
|
LinearVerifyCheckDigit Property
Returns or sets the value determining whether to verify the optional check digit in barcodes where this check digit is optional.
Syntax
object.LinearVerifyCheckDigit [ = bLinearVerifyCheckDigit ]
Possible Values
| bLinearVerifyCheckDigit | Boolean that specifies or receives the LinearVerifyCheckDigit |
The property is read/write.
Remarks
For instance, an Interleaved 2/5 barcode may contain an optional check digit. If this property is set to True,
this check digit will be verified and if it does not match, the barcode will not be decoded.
In case of barcodes where this check digit is required (for example, EAN-13, Code128, etc.), it is verified
automatically no matter what this property is set to.
|
LinearShowCheckDigit Property
Returns or sets the value determining whether to show the check digit or not.
Syntax
object.LinearShowCheckDigit [ = bLinearShowCheckDigit ]
Possible Values
| bLinearShowCheckDigit | Boolean that specifies or receives the LinearShowCheckDigit |
The property is read/write.
Remarks
If it is set to True, the Text property will have the check digit at the end of the barcode.
This property does not make sense for barcodes that have no check digit.
|
LinearShowStartStop Property
Returns or sets the value determining whether to show the start/stop characters or not. Some barcode types have start/stop characters (for example, Code39).
Syntax
object.LinearShowStartStop [ = bLinearShowStartStop ]
Possible Values
| bLinearShowStartStop | Boolean that specifies or receives the LinearShowStartStop |
The property is read/write.
Remarks
If this property is set to True, these start/stop characters will be shown (for instance, *1234567*).
* is the start/stop character for Code39
|
LinearCode39EnableExtended Property
Returns or sets the value determining whether to decode Code 39 as Code 39 Extended or not.
Syntax
object.LinearCode39EnableExtended [ = bLinearCode39EnableExtended ]
Possible Values
| bLinearCode39EnableExtended | Boolean that specifies or receives the LinearCode39EnableExtended |
The property is read/write.
Remarks
A Code 39 Extended barcode can encode the full ASCII charset. If this property is set to True, these characters will be decoded.
|
LinearUPCE2UPCA Property
Returns or sets the value determining whether to convert a UPC-E barcode to UPC-A or not.
Syntax
object.LinearUPCE2UPCA [ = bLinearUPCE2UPCA ]
Possible Values
| bLinearUPCE2UPCA | Boolean that specifies or receives the LinearUPCE2UPCA |
The property is read/write.
|
ShowImage Property
Returns or sets the value determining whether to show the image and the decoded barcodes or not. Our
BarcodeReader ActiveX can be used in both visible and invisible modes. If it is used in the visible
mode and you need to show the image, you should set this property to True. The invisible mode is used
in most cases so it is better to set this property to False because it increases the performance rate
of BarcodeReader ActiveX.
Syntax
object.ShowImage [ = bShowImage ]
Possible Values
| bShowImage | Boolean that specifies or receives the ShowImage |
The property is read/write.
|
FileName Property
Returns or sets the name of the file you need to decode. As soon as this property is set to any value, the
decoding algorithm is called and if the file exists, you can use the Barcodes property to get the results.
Syntax
object.FileName [ = sFileName ]
Possible Values
| sFileName | String that specifies or receives the file name |
The property is read/write.
Remarks
Using this property is similar to using the Decode methods (DecodeFile, DecodeStream, etc.).
|
InverseType Property
Returns or sets what barcodes should be decoded (darks on light or lights on dark).
Syntax
object.InverseType [ = enInverseType ]
Possible Values
| InverseType | Enumerator that specifies or receives the InverseType property. |
The property is read/write.
|
BarcodeCount Property
Returns the number of decoded barcodes.
The property is read only.
|
Barcodes Property
Returns the BarcodeList object that contains the collection of decoded barcodes.
The property is read only.
|
|
|
 |
 |
 |
 |
Barcode Recognition SDK
version 5.06
Latest release: June 21 2010
What's new in SDK
Platforms:
Windows 32-bit & 64-bit, Windows Mobile Symbian (S60)
Supports
Linear:
Interleaved 2/5, Industrial 2/5, Code 39, Code 39 Extended, Codabar, Code 11, Code 128, Code 128 Extended,
EAN/UCC 128, UPC-E, UPC-A, EAN-8, EAN-13, Code 93, Code 93 Extended
2D:
PDF417
DataMatrix
Download
|
 |
 |
 |
 |
|
|