• Aztec Code download

Imprimer code à barres Aztec Code dans C#

To print Aztec Code in C#, you need both bcsAztec.ttf true type font and cruflbcsn.dll.

To get cruflbcsn.dll, you can either download it from Aztec Code C#.,
or you can generate cruflbcsn.dll if you already have cruflbcs.dll.
tlbimp is a utility of Windows SDK. It converts type definitions of a COM object to equivalent definitions in a common language runtime assembly that you can use in C#.
tlbimp cruflbcs.dll /out:cruflbcsn.dll

Add reference to cruflbcsn.dll from your C# project first.
Then use code snippet below to get QR Code in C#

using cruflbcsn;
cruflbcsn.IAztec pAztec = new CAztec();
textBox2.Text = pAztec.Encode(textBox1.Text);

Or you can use code snippet below to customize a Aztec Code in C#

using cruflbcsn;
cruflbcsn.IAztec pAztec = new CAztec();
textBox2.Text = pAztec.EncodeCR(textBox1.Text, 0, 1);

The first parameter is string to encode.
The second parameter is index. Always set it to zero please.
The third parameter is security level. Its values range between 0 and 3. It stands for L07, M15, Q25 and H30 separately

  • Aztec Code barcode download