PreferredFormat Property

Navigation:  Reference Guide > Properties >

PreferredFormat Property

Previous pageReturn to chapter overviewNext page

Sets the format of the Aztec barcode.

 

Property Data Type

short

 

 

Remarks

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

Value

Description

Capacity (in digits)

Capacity (in alphanumeric characters)

Capacity (in bytes)

0

Auto format

 

 

 

1

15 X 15 compact format

13

12

6

2

19 X 19

18

15

8

3

19 X 19 compact format

40

33

19

4

23 X 23

49

40

24

5

23 X 23 compact format

70

57

33

6

27 X 27

84

68

40

7

27 X 27 compact format

110

89

53

8

31 X 31

128

104

62

9

37 X 37

178

144

87

10

41 X 41

232

187

114

11

45 X 45

294

236

145

12

49 X 49

362

291

179

13

53 X 53

433

348

214

14

57 X 57

516

414

256

15

61 X 61

601

482

298

16

67 X 67

691

554

343

17

71 X 71

793

636

394

18

75 X 75

896

718

446

19

79 X 79

1008

808

502

20

83 X 83

1123

900

559

21

87 X 87

1246

998

621

22

91 X 91

1378

1104

687

23

95 X 95

1511

1210

753

24

101 X 101

1653

1324

824

25

105 X 105

1801

1442

898

26

109 X 109

1956

1566

976

27

113 X 113

2116

1694

1056

28

117 X 117

2281

1826

1138

29

121 X 121

2452

1963

1224

30

125 X 125

2632

2107

1314

31

131 X 131

2818

2256

1407

32

135 X 135

3007

2407

1501

33

139 X 139

3205

2565

1600

34

143 X 143

3409

2728

1702

35

147 X 147

3616

2894

1806

36

151 X 151

3832

3067

1914

 

If you set PreferredFormat to 0 (Auto format), our Aztec ASP 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 Aztec ASP control will also automatically choose an appropriate format with bigger data capacity to encode the string.