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 Set PDF-417 Size in C#
C#.NET PDF-417 Generator is easy to use and integrate PDF-417 barcode generating SDK into your C#.NET projects & applications. It can be completely run in C#.NET 2.0/3.0/4.0 and work perfectly with Microsoft Visual Studio 2005/2008/2010.
C#.NET PDF-417 Generator supports to generate Macro PDF-417, Truncated PDF-417 barcodes as well in C#.NET. A developer guide with comprehensive sample codings is provided for customizing every aspect of PDF-417 barcode size, image, data with minimum requirement of PDF-417 barcode knowledge:
PDF-417 Size Related Properties

Row Count and Column Count

Users may choose different numbers of rows (3-90) and columns (1-30) for PDF-417 barcode using RowCount and ColumnCount properties.

Truncated PDF-417

Users may create Compact PDF-417 or Truncated PDF-417 if they put space into the first consideration using Truncated property.

Barcode Unit

Users may choose three different barcode unit measurements - pixel, cm and inch to measure all barcode size related properties using BarcodeUnit property.

Quiet Margin

Users may easily change the quiet zone size of generated PDF-417 barcode using QuietMargin related property, including TopMargin, BottomMargin, RightMargin and LeftMargin.

Bar Width & Height

Users may quickly change PDF-417 barcode size through setting bar width and height using BarWidth and BarHeight property.

Barcode Width & Height

Users may set the whole barcode width and height of PDF-417 barcode using BarcodeWidth and BarcodeHeight in accordance with users' needs.
Customize PDF-417 Barcode Sizes in C#.NET
If you want to adjust PDF-417 image size in C#.NET, be sure that you have installed:
Customize PDF-417 Barcode Size in C#.NET
Copy those following code onto your C#.NET projects:
using BusinessRefinery.Barcode;

PDF417 Barcode = new PDF417();
barcode.Code = "123456789";

barcode.drawBarcode2SizeFile("c:/pdf-417-csharp.gif");
Change PDF-417 Barcode Unit Measuirement
BarcodUnit default value in Barcode Generator for .NET Ultimate is BarcodeUnit.PIXEL.

Copy those following code to change your unit measurement for all size related properties:
barcode.BarcodeUnit = BarcodeUnit.PIXEL;
Generate Truncated PDF-417 Barcodes
TruncatdPDF417 default value in Barcode Generator for .NET Ultimate is false.

Copy those following code to make Truncatd PDF417 barcodes:
barcode.TruncatdPDF417 = true;
Adjust PDF-417 Bar Width and Height
BarWidth default value in Barcode Generator for .NET Ultimate is 3 pixel.

Copy those following code to specify your module width and height:
barcode.BarWidth = 3;
Specify PDF-417 Barcode Width & Height
BarcodeWidth and BarcodeHeight default value in Barcode Generator for .NET Ultimate are 0 respectively.

Copy those following code to specify your barcode width and height:
barcode.BarcodeHeight = 100;
barcode.BarcodeWidth = 500;
Control 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;