C#. PDF-417 Generator Image Setting Tutorial

sample source code to generate 2D PDF-417 in png, jpeg, etc. image formats in C# .NET


C# PDF-417 Introduction

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;


Creating PDF-417 with JPEG Format

Setting JEPG format to output PDF-417 images in C# ASP.NET web projects:

pdf417.Format = ImageFormat.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;


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;


Creating PDF-417 in BMP Format

Setting BMP format to create PDF-417 images in C# class.:

pdf417.Format = ImageFormat.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.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.

OnBarcode is a market-leading provider of barcode imaging generator, reader controls and components for ASP.NET, Windows Forms, WPF, as well Java, Android, iOS (iPhone, iPad) across all major enterprise development platforms. We provides comprehensive tutorials and how-tos for various linear, 2d barcode information, such as C# in ASP.NET, C# .NET, C# Barcode Encoding, C# Barcode Image, VB.NET in ASP.NET, VB.NET Winforms, VB.NET Barcode Encoding. OnBarcode barcode products are supported by RasterEdge ASP.NET Document Viewer, which supports ASP.NET PDF Viewer, ASP.NET MVC Document Viewer, ASP.NET PDF Editor, MVC PDF Viewer. And provide high quality C# Convert PDF to Tiff, C# Convert PDF to Word, C# Convert PDF to HTML, C# Convert PDF to Jpeg images, and their easy and simple documents, like C# PDF SDK, C# extract text from PDF, C# Compress PDF, Print PDF in C# and C# extract image from PDF.
Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.