ByteScout BarCode Generator SDK - C# - GS1 Datamatrix Barcode - ByteScout

ByteScout BarCode Generator SDK – C# – GS1 Datamatrix Barcode

  • Home
  • /
  • Articles
  • /
  • ByteScout BarCode Generator SDK – C# – GS1 Datamatrix Barcode

gs1 datamatrix barcode in C# and ByteScout Barcode SDK

Tutorial: how to do gs1 datamatrix barcode in C#

Source code documentation samples provide quick and easy way to add a required functionality into your application. ByteScout Barcode SDK helps with gs1 datamatrix barcode in C#. ByteScout Barcode SDK is the robost library (Software Development Kit) that is designed for automatic generation of high-quality barcodes for printing, electronic documents and pdf. All popular barcode types are supported from Code 39 and Code 129 to QR Code, UPC, GS1, GS-128, Datamatrix, PDF417, Maxicode and many others. Provides support for full customization of fonts, colors, output and printing sizes. Special tools are included to verify output quality and printing quality. Can add generated barcode into new or existing documents, images and PDF.

You will save a lot of time on writing and testing code as you may just take the code below and use it in your application. To do gs1 datamatrix barcode in your C# project or application you may simply copy & paste the code and then run your app! Enjoy writing a code with ready-to-use sample C# codes to implement gs1 datamatrix barcode using ByteScout Barcode SDK.

Free trial version of ByteScout Barcode SDK is available on our website. Get it to try other samples for C#.

Try ByteScout Barcode SDK today: Get 60 Day Free Trial or sign up for Web API

using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; using Bytescout.BarCode; namespace Sample { class Program { static void Main(string[] args) { // Create new barcode Barcode barcode = new Barcode(); // Set symbology barcode.Symbology = SymbologyType.GS1_DataMatrix; // Set GS1 barcode value barcode.Value = "(01)03453120000011(17)291030(10)ABC123"; // you may also set the value without brackets and the SDK will automatically add brackets where needed // also some values may include "|" character as the additional separator (for example, GS1 Australian Post) // barcode.Value = "01034531200000111729103010ABC123"; // it will be converted into "(01)03453120000011(17)291030(10)ABC123" automatically // you may also optionally check if this value is valid according to GS1 subtype rules // bool isValidValue = barcode.ValueIsValidGS1(barcode.Value)); // Save barcode to image barcode.SaveImage("result.png"); // Show image in default image viewer Process.Start("result.png"); } } }

Try ByteScout Barcode SDK today: 60 Day Free Trial (on-premise version) or sign up for Web API (on demand version)



Get 60 Day Free Trial or Visit ByteScout Barcode SDK page

Explore ByteScout Barcode SDK documentation


Sign Up for free Web API key

Explore Web API Documentation