GS1-128 Barcode - C#
BarCode SDK sample in C# demonstrating ‘GS1-128 Barcode’
Program.cs
using Bytescout.BarCode;
using System.Diagnostics;
namespace Sample
{
class Program
{
static void Main(string[] args)
{
// Create new barcode
Barcode barcode = new Barcode();
// Set symbology
barcode.Symbology = SymbologyType.GS1_128;
// Set value
barcode.Value = "(420)145322(92)00191234567812345671";
// Save barcode to image
barcode.SaveImage("result.png");
// Show image in default image viewer
Process.Start("result.png");
}
}
}