GS1 QR Code - VB.NET
BarCode SDK sample in VB.NET demonstrating ‘GS1 QR Code’
Program.vb
Imports Bytescout.BarCode
Module Program
Sub Main()
Try
' Create and activate barcode generator instance
Using barcode As Barcode = New Barcode("demo", "demo")
' Set barcode type
barcode.Symbology = SymbologyType.GS1_QRCode
' GS1 QR Code requires a value that is formatted according to GS1 specification.
barcode.Value = "(01)07046261398572(17)130331(10)TEST5632(21)19067811811"
' Save barcode to image file
barcode.SaveImage("result.png")
End Using
Catch ex As Exception
Console.WriteLine(ex.Message)
End Try
' Show image in default image viewer
Process.Start("result.png")
End Sub
End Module