Free Trial
Web API version
Licensing
Request A Quote
HAVE QUESTIONS OR NEED HELP? SUBMIT THE SUPPORT REQUEST FORM or write email to SUPPORT@BYTESCOUT.COM
Add To New PDF | VB.NET
Program.vb:
VB
Imports Bytescout.BarCode Class Program Friend Shared Sub Main() ' Create new barcode and register it. Dim barcode As New Barcode() barcode.RegistrationName = "demo" barcode.RegistrationKey = "demo" ' Set symbology barcode.Symbology = SymbologyType.DataMatrix ' Set value barcode.Value = "Sample barcode" ' Place barcode at top-right corner of document page barcode.DrawToNewPDF("barcode.pdf", 595,842, 500, 50) ' Open output file in default PDF viewer System.Diagnostics.Process.Start("barcode.pdf") End Sub End Class