PreferredFormat Property

Navigation:  Reference Guide > Properties >

PreferredFormat Property

Previous pageReturn to chapter overviewNext page

Gets or sets the format of the DataMatrix barcode.

 

Property Data Type

short

 

 

Remarks

The default value is 0, this property can be one of the following values.

Value

Description

Data Capacity

Numeric

Alphanumeric

Byte

0

Auto format

 

 

 

1

10 X 10 format

6

3

1

2

12 X 12 format

10

6

3

3

14 X 14 format

16

10

6

4

16 X 16 format

24

16

10

5

18 X 18 format

36

25

16

6

20 X 20 format

44

31

20

7

22 X 22 format

60

43

28

8

24 X 24 format

72

52

34

9

26 X 26 format

88

64

42

10

32 X 32 format

124

91

60

11

36 X 36 format

172

127

84

12

40 X 40 format

228

169

112

13

44 X 44 format

288

214

142

14

48 X 48 format

348

259

172

15

52 X 52 format

408

304

202

16

64 X 64 format

560

418

278

17

72 X 72 format

736

550

366

18

80 X 80 format

912

682

454

19

88 X 88 format

1152

862

574

20

96 X 96 format

1392

1042

694

21

104 X 104 format

1632

1222

814

22

120 X 120 format

2100

1573

1048

23

132 X 132 format

2608

1954

1302

24

144 X 144 format

3116

2335

1556

25

8 X 18 format

10

6

3

26

8 X 32 format

20

13

8

27

12 X 26 format

32

22

14

28

12 X 36 format

44

31

20

29

16 X 36 format

64

46

30

30

16 X 48 format

98

72

47

 

If you set PreferredFormat to 0 (Auto format), our DataMatrix ActiveX control will automatically choose an appropriate format with enough data capacity to encode the string.

 

If you set PreferredFormat to other values and the data capacity of the selected format is not big enough to encode the string, our DataMatrix ActiveX control will also automatically choose an appropriate format with bigger data capacity to encode the string.