ByteScout BarCode Generator SDK - C# - DataMatrix Barcode - ByteScout

ByteScout BarCode Generator SDK – C# – DataMatrix Barcode

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

datamatrix barcode in C# and ByteScout Barcode SDK

How To: tutorial on datamatrix barcode in C#

Here you may find thousands pre-made source code pieces for easy implementation in your own programming C# projects. ByteScout Barcode SDK was made to help with 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. This C# sample code should be copied and pasted into your application’s code editor. Then just compile and run it to see how it works. Use of ByteScout Barcode SDK in C# is also explained in the documentation included along with the product.

Trial version can be obtained from our website for free. It includes this and other source code samples for C#.

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

Program.cs
      
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.DataMatrix; // Set value barcode.Value = "this is a test string"; // 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)

VIDEO

ON-PREMISE VERSION

Get 60 Day Free Trial or Visit ByteScout Barcode SDK page

Explore ByteScout Barcode SDK documentation

WEB API

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next