Barcode Xpress for .NET Framework v13.9 - Updated
Write a Data Matrix Barcode
Developer Guide > How To > Create a Barcode > Create a 2D Barcode > Write a Data Matrix Barcode

Use the code example below as a guideline for writing Data Matrix barcodes.

C# - Basic steps for barcode writing Data Matrix Barcodes using Accusoft.BarcodeXpress.Net

using (BarcodeXpress bx = new BarcodeXpress("."))
using (WriterDataMatrix dataMatrixWriter = new WriterDataMatrix(bx))
{
    // Set the text value
    dataMatrixWriter.BarcodeValue = "DataMatrix Value";

    using (Bitmap bitmap = dataMatrixWriter.CreateBitmap())
    {
        bitmap.Save("testfile.bmp");
    }
}
Is this page helpful?
Yes No
Thanks for your feedback.