BizCode Barcode Generator for .NET Ultimate
The most robust & powerful barcode generating SDK for Microsoft .NET Framework
Quick Overviews
  • Powerful barcode creating DLL
  • Completely run in VB.NET
  • 100% sample code provided
  • Multiple barcode formats
  • Full controls provided
How to Encode PDF-417 Data in VB.NET
VB.NET PDF-417 Generator is mature and reliable PDF-417 generation component for VB.NET projects, allowing users to easily integrate dynamic PDF-417 images into .NET applications with Visual Basic, such as Macro PDF-417 and truncated PDF-417 barcodes as well.
With VB.NET PDF-417 Generator, high-quality PDF-417 barcodes can be printed and output with multiple data type and 9 different error correction levels. Here is detailed PDF-417 data encoding; if you want to know, please see:
PDF-417 Data Related Properties

Data Mode

Barcode property DataMode is provided by Barcode Generator for .NET Ultimate for users to encode different data for PDF-417 with different data modes.

5 PDF-417 data modes:
  • Auto: this component will determine the best data mode for you
  • Text: encodes all printable ASCII characters
  • Byte: encodes 8-bit values according to ISO/IEC 8859-1
  • Numeric: encodes 10 Arabic digits 0-9
  • Customer: encodes data according to the customer

Code

Barcode property Code is provided by Barcode Generator for .NET Ultimate for users to manipulate data length of PDF-417 barcodes.

ProcessTilde

Barcode property ProcessTilde is provided by Barcode Generator for .NET Ultimate for users to encode some special characters for PDF-417 barcode using a tilde characters "~".
  • 1-byte character: ~0dd/~1dd/~2dd (character value from 000 ~ 255); ASCII character '~' is presented by ~126
    Strings from "~256" to "~299" are unused
  • 2-byte character (Unicode): ~6ddddd (character value from 00000 ~ 65535)
    Strings from "~665536" to "~699999" are unused
  • Programming for reader initialisation: ~rp.
    This should be located at the beginning of the encoding data, e.g. data = "~rpABCD1234".
  • ECI: ~7dddddd (valid value of dddddd from 000000 to 999999)

Error Correction Level

Barcode property ECL is provided by Barcode Generator for .NET Ultimate for users to set the error correction level of PDF-417 from level 0 to level 8, which defines the number of code words which are used for error recognition/correction.
Customize PDF-417 Barcode Data in VB.NET
Make sure that your have installed those programs before you encode PDF-417 data in VB.NET:
Encode PDF-417 Barcode Data in .NET Project Using VB.NET Class
Copy those following code onto your VB.NET projects:
Dim barcode As BusinessRefinery.Barcode.PDF417 = 
New BusinessRefinery.Barcode.PDF417()
barcode.Code = "0123456789"
barcode.drawBarcode2ImageFile("c:/pdf-417-vb-net.gif")
Encode PDF-417 Barcode Data with Different Data Modes in C#.NET
In Barcode Generator for .NET Ultimate, the default value of DataMode is PDF417DataMode.Auto. Copy those following code to change PDF-417 encoding data modes:
barcode.DataMode = PDF417DataMode.Text
barcode.Code = "PDF417"
Select PDF-417 Error Correction Level
In Barcode Generator for .NET Ultimate, the default value of ECL is PDF417ECL.LEVEL_2.

Copy those following code to change PDF-417 error correction level:
barcode.ECL = PDF417ECL.LEVEL_2
Control PDF-417 Barcode Data Length
In Barcode Generator for .NET Ultimate, the default value of Code is "".

Copy those following code to change PDF-417 barcode data length:
barcode.Code = "BusnessRefinery.com-PDF417"
Encode PDF-417 Barcode Data with "~" in VB.NET
In Barcode Generator for .NET Ultimate, the default value of ProcessTilde is false.

Copy those following code to encode PDF-417barcode data with "~":
barcode.ProcessTilde= true
barcode.Code = "~rpABCD1234"