ByteScout Barcode Suite - VB.NET - Generate datamatrix with binary data with barcode sdk - ByteScout

ByteScout Barcode Suite – VB.NET – Generate datamatrix with binary data with barcode sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Barcode Suite – VB.NET – Generate datamatrix with binary data with barcode sdk

How to generate datamatrix with binary data with barcode sdk in VB.NET using ByteScout Barcode Suite

How to write a robust code in VB.NET to generate datamatrix with binary data with barcode sdk with this step-by-step tutorial

Sample source code below will display you how to manage a complex task like generate datamatrix with binary data with barcode sdk in VB.NET. ByteScout Barcode Suite is the bundle that privides 3 SDK products to generate barcodes (Barcode SDK), read barcodes (Barcode Reaer SDK) and read and write spreadsheets (Spreadsheet SDK) and you can use it to generate datamatrix with binary data with barcode sdk with VB.NET.

The following code snippet for ByteScout Barcode Suite works best when you need to quickly generate datamatrix with binary data with barcode sdk in your VB.NET application. Simply copy and paste in your VB.NET project or application you and then run your app! Enjoy writing a code with ready-to-use sample codes in VB.NET.

ByteScout Barcode Suite free trial version is available on our website. VB.NET and other programming languages are supported.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

Program.vb
      
Imports System.Diagnostics Imports System.Text Imports Bytescout.BarCode Class Program Friend Shared Sub Main(args As String()) ' Create Barcode component instance Using barcode As New Barcode() barcode.RegistrationName = "demo" barcode.RegistrationKey = "demo" ' Set barcode type barcode.Symbology = SymbologyType.DataMatrix ' Force binary mode barcode.Options.DataMatrixCompactionMode = DataMatrixCompactionMode.Binary ' Sample byte array to use as value Dim byteArray As Byte() = New Byte() {0, 10, 11, 12, 13, 14, 15, &HFF} ' Set value by converting byte array to string barcode.Value = Encoding.Default.GetString(byteArray) ' Save barcode image barcode.SaveImage("result.png") ' Open output image in default associated application Process.Start("result.png") End Using End Sub End Class

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Barcode Suite Home Page

Explore ByteScout Barcode Suite Documentation

Explore Samples

Sign Up for ByteScout Barcode Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Barcode Suite Home Page

Explore ByteScout Barcode Suite Documentation

Explore Samples

Sign Up for ByteScout Barcode Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next