ByteScout BarCode Generator SDK - VB.NET - Add Barcode to PDF - ByteScout

ByteScout BarCode Generator SDK – VB.NET – Add Barcode to PDF

  • Home
  • /
  • Articles
  • /
  • ByteScout BarCode Generator SDK – VB.NET – Add Barcode to PDF

How to add barcode to PDF in VB.NET and ByteScout Barcode SDK

The tutorial shows how to add barcode to PDF in VB.NET

Add barcode to PDF is easy to implement in VB.NET if you use these source codes below. ByteScout Barcode SDK: the fully featured library to generate barcodes. Supports QR Code, Code 39, Code 128, UPC, GS1, GS-128, PDF417, Datamatrix and many other barcode types. Includes various options for barcode generation to ensure output quality, add barcodes to new or existing pdf files and images. It can add barcode to PDF in VB.NET.

This rich sample source code in VB.NET for ByteScout Barcode SDK includes the number of functions and options you should do calling the API to add barcode to PDF. This VB.NET sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! Detailed tutorials and documentation are available along with installed ByteScout Barcode SDK if you’d like to dive deeper into the topic and the details of the API.

Our website provides trial version of ByteScout Barcode SDK 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)

Program.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 every document page barcode.DrawToPDF("wikipedia.pdf", -1, 500, 50, "result.pdf") ' Open output file in default PDF viewer System.Diagnostics.Process.Start("result.pdf") End Sub End Class

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Barcode SDK Home Page

Explore ByteScout Barcode SDK Documentation

Explore Samples

Sign Up for ByteScout Barcode SDK 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 SDK Home Page

Explore ByteScout Barcode SDK Documentation

Explore Samples

Sign Up for ByteScout Barcode SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next