QRCodeGS1Options Class
Contains options specific to this symbology (bar code type).
Namespace: DevExpress.BarCodes
Assembly: DevExpress.Docs.v24.1.dll
NuGet Package: DevExpress.Document.Processor
Declaration
Related API Members
The following members return QRCodeGS1Options objects:
Remarks
Access the QRCodeGS1Options
object with the QRCodeGS1 property.
The code sample below creates a GS1 QR code and displays it in a PictureBox.
using DevExpress.BarCodes;
using DevExpress.Drawing.Extensions;
using System;
using System.Drawing;
using System.Windows.Forms;
//...
private void button1_Click(object sender, EventArgs e)
{
this.pictureBox1.Image = null;
BarCode barCode = new BarCode();
barCode.Symbology = Symbology.QRCodeGS1;
barCode.CodeText = "0123456789";
barCode.BackColor = Color.White;
barCode.ForeColor = Color.Black;
barCode.RotationAngle = 0;
barCode.Options.QRCodeGS1.CompactionMode = DevExpress.BarCodes.QRCodeCompactionMode.AlphaNumeric;
barCode.Options.QRCodeGS1.ErrorLevel = QRCodeErrorLevel.H;
barCode.Options.QRCodeGS1.ShowCodeText = false;
barCode.Options.QRCodeGS1.FNC1Substitute = "#";
barCode.DpiX = 72;
barCode.DpiY = 72;
barCode.Module = 2f;
this.pictureBox1.Image = barCode.BarCodeImage.ConvertToGdiPlusImage();
}
Inheritance
Object
BarCodeGeneratorOptions
QRCodeOptions
QRCodeGS1Options
See Also