BizCode Barcode Generator for .NET Ultimate
The most robust & powerful barcode generating SDK for Microsoft .NET Framework
Quick Overviews
  • Mature barcode creating SDK
  • Support .NET 2.0/3.0/4.0
  • 100% developed in C#.NET
  • Dynamic barcodes support
  • User-defined controls provided
How to Generate PDF-417 images in C#
PDF-417 Generator for C#.NET is a robust, powerful barcode creating DLL for Visual C#.NET development environments. It can be integrated well with C#.NET Winforms, C#.NET Web forms, C#.NET console application & class library, etc.
PDF-417 Generator for C#.NET also allows users to generated Truncated PDF-417/Compact PDF-417 barcodes as well as Macro PDF-417 barcode to be generated with manipulated image resolution, rotation, image formats, symbol placement, etc. in C#.NET projects. Here is a 100 % C#.NET sample coding for specifying PDF-417 Truncated PDF-417/Compact PDF-417 and Macro PDF-417 barcodes images in .NET, others please see:
PDF-417 Image Related Properties

Macro PDF-417

Users may easily create Macro PDF-417 barcode with up to 99,999 PDF-417 symbols linked with Macro related propertied provided by Barcode Generator for .NET Ultimate.

Error Correction Levels

Users may easily generate PDF-417 barcode in nine different levels of error corrections (from level 0 to level 8) with ECL property provided by Barcode Generator for .NET Ultimate.

Barcode Resolution

Users may easily change barcode resolution in DPI that can be used for both high-resolution output and low-resolution output printers with Resolution property provided by Barcode Generator for .NET Ultimate.

Barcode Rotation

Users may easily change barcode rotation angle into 0, 90, 180 and 270 degrees that can be recognized by all scanners with Rotate property provided by Barcode Generator for .NET Ultimate.

Image Formats

Users may easily save barcode images into various image formats for different purpose, like Png, Jpeg/Jpg, Gif, Tiff, Bmp, with ImageFormat property provided by Barcode Generator for .NET Ultimate.

C#.NET Graphic Objects

Users may easily save barcode images into .NET graphic objects, Graphics, Stream and Bitmap objects, with DrawBarcode property provided by Barcode Generator for .NET Ultimate.
Customize PDF-417 Barcode Images in C#.NET
If you want to customize PDF-417 image in C#.NET, be sure that you have installed:
Customize PDF-417 Barcode Images in .NET Project Using C# Class
Copy those following code onto your C#.NET projects:
using BusinessRefinery.Barcode;

PDF417 barcode = new PDF417();
barcode.Code = "0123456789";

barcode.drawBarcode2ImageFile("c:/pdf-417-csharp.gif");
Select Different ECL for PDF-417
ECL default value in Barcode Generator for .NET Ultimate is PDF417ECL.LEVEL_2.

Copy those following code change PDF-417 error correction level:
barcode.ECL = PDF417ECL.LEVEL_5;
Generate Macro PDF-417 Barcodes
Macro default value in Barcode Generator for .NET Ultimate is false. And MacroSegmentCount, MacroSegmentIndex and MacroFileIndex default value is 0 respectively.

Copy those following code to make Macro PDF-417 barcodes:
barcode.Macro = true;
barcode.MacroSegmentCount = 2;
barcode.MacroSegmentIndex = 0;
barcode.MacroFileIndex = 10;

barcode.MacroSegmentCount = 2;
barcode.MacroSegmentIndex = 1;
arcode.MacroFileIndex = 10;
Change PDF-417 Resolution in DPI
Resolution default value in Barcode Generator for .NET Ultimate is 72 dpi.

Copy those following code to change your resolution:
barcode.Resolution = 104;
Adjust PDF-417 Barcode Quiet Margin
BottomMargin, TopMargin , LeftMargin and RightMargin default value in Barcode Generator for .NET Ultimate is 0 respectively.

Copy those following code to change your quiet margin size:
barcode.BottomMargin = 7;
barcode.TopMargin = 7;
barcode.LeftMargin = 5;
barcode.RightMargin = 5;
Change PDF-417 Image Rotation
Resolution default value in Barcode Generator for .NET Ultimate is Rotate.Rotate0.

Copy those following code to change your image rotation angle:
barcode.Rotate = Rotate.Rotate180;
Save PDF-417 in Multiple Image Formats
Format default value in Barcode Generator for .NET Ultimate is gif.

Copy those following code to change your image format:
barcode.Format = ImageFormat.Png;
barcode.drawBarcode2ImageFile("c:/ean-128-csharp.Png");
Users may change image format into gif, png, tiff, jpeg, png; or save it as C#.NET graphic objects:
public void drawBarcode2ImageFile(string filename);
public void drawBarcode2Stream(Stream fileStream);
public byte[] drawBarcodeAsBytes();
public Bitmap drawBarcodeOnBitmap();
public void drawBarcodeOnGraphics(Graphics graphics);