Leadtools.Barcode.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
Barcode1d Class
See Also  Members  
Leadtools.Barcode Namespace : Barcode1d Class



This class contains linear (1D) barcode information for reading or writing 1D barcodes.

Syntax

Visual Basic (Declaration) 
Public Class Barcode1d 
Visual Basic (Usage)Copy Code
Dim instance As Barcode1d
C# 
public class Barcode1d 
C++/CLI 
public ref class Barcode1d 

Example

For an example, refer to BarcodeEngine.Read example.

Remarks

The linear (1D) barcodes are not supported in UNICODE text.

A barcode is composed of start mark, data, and end mark. Reading barcodes from left to right (setting the Direction property to BarcodeDirectionFlags.LeftToRight value) or from right to left (setting the Direction property to BarcodeDirectionFlags.RightToLeft value) will produce the same result in most cases, because the barcode reader engine recognizes the start and end marks, and handles the data accordingly. For example, if BarcodeDirectionFlags.LeftToRight is used and the user reads barcodes from left to right (the barcode is not rotated), the engine will recognize the start mark first, then the data, and finally the end mark. But if the user reads barcodes from right to left (the barcode is rotated 180 degrees), the engine will first recognize the end mark, then read the (reverse-order) data, and then recognize the start mark. In this case, the engine will flip the data to normal (start/data/end) order.

The following table contains information for writing linear 1D barcodes:

EAN 13

EAN 8

UPC A

UPC E

RSS14 & RSS14 Stacked

RSS14 Limited

RSS14 Expanded & RSS14 Expanded Stacked

Code 3 of 9 (Code 39)

CODABAR

Code 128

Code Interleaved 2 of 5

Numerical digits

0-9

0-9

0-9

0-9

0-9

0-9

0-9

0-9

0-9

All ASCII characters

0-9

Alpha char.

N/A

N/A

N/A

N/A

N/A

N/A

A-Z, a-z, and space

A-Z and space bar

N/A

N/A

N/A

Special char.

N/A

N/A

N/A

N/A

N/A

N/A

! ” & ’ ( ) * + , - . / + /

- . $ $ + /

N/A

N/A

Data Length

12

7

11

6 or 11

13

13

N/A

1-63

1-63

3-63

1-63

Min. width (pixels)

113

80

113

70

96

74

N/A

(I+4) * 15

N/A

(I + 5) * 11

(I*9)+ 9+ Q

Double width (pixels)

226

170

226

140

192

148

N/A

(I+4) * 30

N/A

(I + 5) * 22

((I*9)+ 9+ Q) * 2

Triple width (pixels)

339

255

339

210

288

222

N/A

(I+4) * 45

N/A

(I + 5) * 33

((I*9)+ 9+ Q) * 3

Quad width (pixels)

452

340

452

280

384

296

N/A

(I+4) * 60

N/A

(I + 5) * 44

((I*9)+ 9+ Q) * 5

Quintuple width (pixels)

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

FNC1 Char Set A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

0x80

N/A

FNC2 Char Set A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

0x81

N/A

FNC3 Char Set A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

0x82

N/A

FNC4 Char Set A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

0x83

N/A

FNC1 Char Set B

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

0x84

N/A

FNC2 Char Set B

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

0x85

N/A

FNC3 Char Set B

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

0x86

N/A

FNC4 Char Set B

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

0x87

N/A

FNC1 Char Set C

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

0x88

N/A

For Code 3 of 9 and Code 128: I = # of characters in the string.

Code Interleaved 2 of 5: I = # of digits and must be even.

Q = Quite Zone – 36 elements. The Linear barcodes are not supported in UNICODE text.

Inheritance Hierarchy

System.Object
   Leadtools.Barcode.Barcode1d

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also

Leadtools.Barcode.CF requires a Barcode Module license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features