DataMatrixGS1Options Class
Contains options specific to GS1 DataMatrix symbology.
Namespace: DevExpress.Docs.Barcode
Assembly: DevExpress.Docs.Core.v26.1.dll
Declaration
Remarks
The following code snippet creates an Data Matrix GS1 barcode and customizes its options:

using DevExpress.Docs.Barcode;
using DevExpress.Drawing;
using System.Drawing;
var dmGs1Options = new DataMatrixGS1Options();
dmGs1Options.ModuleSize = 5;
dmGs1Options.CompactionMode = DataMatrixCompactionMode.C40;
dmGs1Options.Padding = new Padding(5);
dmGs1Options.BorderWidth = 1;
using var dmGs1OptionsStream = new FileStream(Path.Combine(outDir, "barcode_symbology_datamatrix_gs1.png"), FileMode.Create, FileAccess.Write);
using var dmGs1OptionsGenerator = new BarcodeGenerator(dmGs1Options);
dmGs1OptionsGenerator.Export("(01)09521234543213(10)ABC123(17)280101", dmGs1OptionsStream, DXImageFormat.Png);
Inheritance
Object
BarcodeOptions
DataMatrixOptions
DataMatrixGS1Options
See Also