support

Data Matrix Target Size


Either set PreferedFormat property in codebehind .cs file

BCSBarcodeCtrl1.PreferedFormat = -1;

Or add a tag directly

< img src="barcodesoft.ashx?s=datamatrix&df=2

< img src="barcodesoft.ashx?s=datamatrix&df=0


int width

The default value of PreferedFormat is 0, which means auto-select.
You can set its value between 1 and 30.

Index Format
1 10 * 10
2 12 * 12
3 14 * 14
4 16 * 16
5 18 * 18
6 20 * 20
7 22 * 22
8 24 * 24
9 26 * 26
10 32 * 32
11 36 * 36
12 40 * 40
13 44 * 44
14 48 * 48
15 52 * 52
16 64 * 64
17 72 * 72
18 80 * 80
19 88 * 88
20 96 * 96
21 104 * 104
22 120 * 120
23 134 * 134
24 144 * 144
25 8 * 18
26 8 * 32
27 12 * 26
28 12 * 36
29 16 * 36
30 16 * 48


You can also setup PreferedFormat property through URL by setting "df":
<img src="Barcodesoft.ashx?s=datamatrix&TEXT=1234&df=0>