We made thousands of pre-made source code pieces for easy implementation in your own programming projects. What is ByteScout Barcode Suite? It 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). It can help you to add to new pdf with barcode sdk in your VB.NET application.
Want to quickly learn? This fast application programming interfaces of ByteScout Barcode Suite for VB.NET plus the guidelines and the code below will help you quickly learn how to add to new pdf with barcode sdk. 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. Enjoy writing a code with ready-to-use sample VB.NET codes.
Trial version of ByteScout Barcode Suite is available for free. Source code samples are included to help you with your VB.NET app.
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