Output screenshot (PDF417 symbology)

PDF417 sample barcode

PDF417 symbology. This symbology is heavily used in the parcel industry. The PDF417 symbology can encode a vast amount of data into a small space. This symbology allows a maximum data size of 1850 text characters, or 2710 digits. See also PDF417 Truncated barcode type

Important: you can also use BarCode Windows Forms or Web ImageControl instead. To use the Windows Formscontrol in Visual Studio please open Toolbox and open “Bytescout Software” tab and drag-n-drop “BarCode” control into your WinForms or ASP.NET application (in design mode)

Visual Basic:

Imports Bytescout.BarCode

Module Module1

Sub Main()
‘ Create new barcode
Dim barcode As New Barcode()

‘ Set symbology
barcode.Symbology = SymbologyType.PDF417

‘ Set value
barcode.Value = “this is a test string”

‘ Save barcode to image

‘ Show image in default image viewer
End Sub

End Module


using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;

using Bytescout.BarCode;

namespace Sample
class Program
static void Main(string[] args)
// Create new barcode
Barcode barcode = new Barcode();

// Set symbology
barcode.Symbology = SymbologyType.PDF417;

// Set value
barcode.Value = “this is a test string”;

// Save barcode to image

// Show image in default image viewer