using BusinessRefinery.Barcode;DataMatrix barcode = new DataMatrix();barcode.Code = "Data Matrix";barcode.Resolution = 104;barcode.Rotate = Rotate.Rotate180;barcode.Format = ImageFormat.Gif;barcode.drawBarcode2ImageFile("c:/data-matrix-csharp.gif");You can customize its properties with your needs.Hope it helps!