BizCode Barcode Generator for RDLC
The most mature barcode solution for ReportViewer Local Reports (RDLC)
Quick Overviews
  • Easy-to use barcode SDK
  • VS & RDLC 2005/2008 support
  • Various linear&2D barcodes
  • Dynamic file formats support
  • For all printers & scanners
How to Generate PDF-417 in RDLC Reports
PDF-417 is a stacked 2D barcode which was designed by Dr. Ynjiun P. Wang atSymbol Technologies in 1991. It is able to encode text, byte, numeric-only data and PDF-417 is able to switch back and forth between modes as often as required. PDF-417 is mainly used in transportation and identification systems.
Barcode Generator for RDLC is a .NET component which is fully integrated in Microsoft SQL Server 2005, 2008 and 2010. PDF-417 and truncated PDF-417 barcode images could be displayed image files as well as in the memory for local client RDLC reports, and it is possible to maintain the barcode images on exported PDF and html.
PDF-417 .NET Control for RDLC is an easy-to-use barcode generator which fully developed in C#.NET 2005 and it is compatible with VB.NET, Managed C++ and Borland Delphi for .NET programs. BusinessRefinery provides C# source code and perpetual license in purchased version.
This user guide includes detailed instructions on how to render PDF-417 barcode symbology in local reports by using .NET component for RDLC. Complete tutorial for PDF-417 symbology creation includes valid characteristics, barcode property customization, checksum digit etc.
PDF-417 Barcode Generation in Local Reports / RDLC
Valid Character Set PDF-417 is able to encode:
- Standard ASCII values 0-127
- Extended ASCII values 128-225
Barcode Standard PDF-417 .NET barcode component for RDLC helps you create extremely accurate ISO compliant barcode images based on ISO / IEC 15438.
Truncated PDF-417 By selecting this option, the right hand side of the PDF-417 symbol is removed or truncated. This option may only be used if there is absolutely no possibility of printing
a full size barcode symbol.
Size Setting Barcode layout could be customized easily by writing C# or VB codes. Users are entitled to adjust properties such as barcode height, width, margins, X-dimension etc. to achieve desired performance.
Graphic Option Graphic configuration customizations include foreground and background colors of created PDF-417.
Resolution Option Image resolution may necessary be adjusted to support low-resolution printers such as thermal transfer barcode printers as well as high-resolution printers.
Requirement of PDF-417 Barcode Generator for RDLC
Windows Operating Systems
- Microsoft Windows 7
- Windows Server 2008
- Windows Vista
- Windows Server 2003
- Windows XP
Development Environments
-.NET Framework 2.0, 3.0, 3.5, 4.0
- C#, VB.NET, Managed C++, Borland Delphi for.NET
- Visual Studio 2005/2008/2010
-Microsoft SQL Server 2005, 2008 or 2010
Add Generation DLL to RDLC Project Reference
  1. Download Barcode Generator for RDLC Free Trial and unzip it;
  2. Open Visual Studio, and create ASP.NET web form project;
  3. Add Barcode Generator DLL to the project reference;
  4. In Solution Explorer, right-click the "add new items" to add a class;
  5. Copy the C# or VB.NET sample code in the created class "APP_Code/Class1.cs";
Create PDF417 Barcode Images in RDLC Report Project
  1. Select "Build" to "build web site";
  2. In Solution Explorer, right-click the "add new items" to add a report;
  3. Go to "Report Items" in toolbox to drag and drop a Table into the Report;
  4. Switch to the "Website Data Source" to add "Name" and "Price" into the report table details section; and drag an image in the last column "Barcode";
  5. Select the image and navigate the properties to set data source "database", set image MIMEType "image/jpeg" and set value "=Fields!Bit.Value";
  6. Switch back to Solution Explorer, right-click "Default.aspx" and select "View Designer"
  7. Drag a "ReportViewer" in Data of toolbox to the project;
  8. Choose your created report "Report.rdlc" from "Choose Report" menu;
  9. Debug the webpage, generated barcodes appear in your report.
Create Barcode Images Using C# & VB Sample Codes Below in RDLC Report Project
Run the report, barcode images will be showed on the web page.
using System;
using System.Collections.Generic;
using BusinessRefinery.Barcode;
using BusinessRefinery.Barcode.RDLC;
public class Product
{
private string m_name;
private int m_price;
private byte[] m_bit;
public Product(string name, int price, string data)
{
m_name = name;
m_price = price;
PDF417 barcode = new PDF417();
barcode.Code = data;
m_bit = barcode.drawBarcodeAsBytes();
}
public byte[] Bit
{
get { return m_bit; }
}
public string Name
{
get
{
return m_name;
}
}
public int Price
{
get
{
return m_price;
}
}
}
public class Merchant
{
private List<Product> m_products;
public Merchant()
{
m_products = new List<Product>();
m_products.Add(new Product("code128", 25, "code128"));
m_products.Add(new Product("code39", 30, "code39"));
m_products.Add(new Product("qrcode", 15, "qrcode"));
}
public List<Product> GetProducts()
{
return m_products;
}
}

Imports System.Collections.Generic
Imports BusinessRefinery.Barcode
Imports BusinessRefinery.Barcode.RDLC
Public Class Product
Private m_name As String
Private m_price As Integer
Private m_bit As Byte()
Public Sub New(name As String, price As Integer, data As String)
m_name = name
m_price = price
Dim barcode As NewPDF417()
PDF417 barcode = new PDF417();
barcode.Code = data


m_bit = barcode.drawBarcodeAsBytes()
End Sub
Public ReadOnly Property Bit() As Byte()
Get
Return m_bit
End Get
End Property
Public ReadOnly Property Name() As String
Get
Return m_name
End Get
End Property
Public ReadOnly Property Price() As Integer
Get
Return m_price
End Get
End Property
End Class
Public Class Merchant
Private m_products As List(Of Product)
Public Sub New()
m_products = New List(Of Product)()
m_products.Add(New Product("code128", 25, "code128"))
m_products.Add(New Product("code39", 30, "code39"))
m_products.Add(New Product("qrcode", 15, "qrcode"))
End Sub
Public Function GetProducts() As List(Of Product)
Return m_products
End Function
End Class