The documentation is designed for a specific purpose to help you to apply the features on your side. ByteScout Premium Suite is the set that includes 12 SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording and you can use it to generate datamatrix with binary data with barcode sdk with VB.NET.
These VB.NET code samples for VB.NET guide developers to speed up coding of the application when using ByteScout Premium Suite. IF you want to implement the functionality, just copy and paste this code for VB.NET below into your code editor with your app, compile and run your application. Applying VB.NET application mostly includes various stages of the software development so even if the functionality works please test it with your data and the production environment.
Our website gives trial version of ByteScout Premium Suite for free. It also includes documentation and source code samples.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
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
60 Day Free Trial or Visit ByteScout Premium Suite Home Page
Explore ByteScout Premium Suite Documentation
Explore Samples
Sign Up for ByteScout Premium Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout Premium Suite Home Page
Explore ByteScout Premium Suite Documentation
Explore Samples
Sign Up for ByteScout Premium Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: