You maybe interested: |
Barcode |
|
C#. PDF-417 Generator Image Setting Tutorial
sample source code to generate 2D PDF-417 in png, jpeg, etc. image formats in C# .NET
PDF-417, also known as Portable Data File 417, PDF 417, PDF417 Truncated, is a stacked linear barcode symbol format used in a variety of applications.
C# PDF-417 Generator supports 5 types of PDF-417 generator, which are C# PDF-417 Generator for Windows Forms, C# PDF-417 Generator for ASP.NET , C# PDF-417 Generator for SQL Server Reporting Services (SSRS), C# PDF-417 Generator for Crystal Reports, C# PDF-417 Generator for Windows Azure. All of these PDF-417 generators support PDF-417 image settings, such as image color, image formats, image rotation, image resolution and bar alignment. You may adjust them for your C# .NET PDF 417 generation.
OnBarcode C# Barcode Generator is designed to generate, create PDF-417 and other linear & 2d barcodes in Microsoft Word.
Here are some more tutorials for C# PDF-417 generation concerning data encoding and size setting.
How to generate, print barcode using .NET, Java sdk library control with example project source code free download:
Generating PDF-417 by Setting the Image Format in C#.NET
PNG, BMP, JPEG, GIF and TIFF formats are valid during your C# web control and projects to print high quality PDF 417 images. You may set one of these image formats in your C# development.
PDF417. Pdf417 = new PDF417();
pdf417.Data = "PDF417-Image-Format";
Generating PDF-417 in PNG Format
Adjusting PNG format to generate PDF-417 images in C#.NET Class & console application:
pdf417.Format = ImageFormat.Png;
pdf417.drawBarcode("c:\PDF-417.png");
Creating PDF-417 with JPEG Format
Setting JEPG format to output PDF-417 images in C# ASP.NET web projects:
pdf417.Format = ImageFormat.Jpeg;
pdf417.drawBarcode("c:\PDF-417.jpeg");
Drawing PDF-417 in Gif Format
Customizing GIF format to generate PDF-417 images in C#.NET Windows Forms programming:
pdf417.Format = ImageFormat.Gif;
pdf417.drawBarcode("c:\PDF-417.gif");
Creating PDF-417 in Tiff Format
Changing TIFF format to draw PDF-417 images in SQL Server Reporting Service (SSRS) & Crystal Reports:
pdf417.Format = ImageFormat.Tiff;
pdf417.drawBarcode("c:\PDF-417.tiff");
Creating PDF-417 in BMP Format
Setting BMP format to create PDF-417 images in C# class.:
pdf417.Format = ImageFormat.Bmp;
pdf417.drawBarcode("c:\PDF-417.bmp");
Rotating PDF-417 Image for C#.NET Programming
C# .NET PDF-417 image rotation setting supports rotating the generated PDF-417 image with 0, 90, 180, 270 degrees in C# projects:
PDF417. Pdf417 = new PDF417();
pdf417.Data = "PDF-417";
pdf417.Rotate = Rotate.Rotate90;
C#.NET PDF-417 Image Resolution Setting
C# .NET PDF-417 image resolution setting allows setting the resolution for the created image in C# programming:
PDF417. Pdf417 = new PDF417();
pdf417.Data = "Image-Resolution";
pdf417.Resolution = 200;
C#.NET PDF-417 Image Color Setting
C# .NET PDF-417 image color can be easily integrated with changing the text color, background color and bar color when generating PDF-417 in C# class:
PDF417. Pdf417 = new PDF417();
pdf417.Data = "Image-Color";
pdf417.BackColor = Color.Black;
pdf417.ForeColor = Color.White;
pdf417.TextColor = Color.Yellow;
C#.NET PDF-417 Bar Alignment Setting
Besides image format, image resolution, image rotation and image color, PDF-417 Generator for C# image setting properties can set bar alignment.
PDF417. Pdf417 = new PDF417();
pdf417.Data = "Image-Setting";
pdf417.BarcodeWidth=180;
pdf417.BarAlignment = AlignmentHori.Left;
When the set image width is larger than the minimum image width, Bar Alignment property can set the extra space on the left, center and right side.
|