C#. ITF-14 Generator Image Setting Tutorial

sample source code to generate linear ITF-14 in png, jpeg, etc. image formats in C# .NET


 

C# ITF-14 Introduction

ITF-14, also known as UPC Shipping Container Symbol ITF-14, ITF14, is numeric-only linear barcode generated according to GS1 standard.

C# ITF-14 Generator supports 5 types of ITF-14 generator, which are C# Code 39 Generator for Windows Forms, C# Code 39 Generator for ASP.NET , C# Code 39 Generator for SQL Server Reporting Services (SSRS), C# Code 39 Generator for Crystal Reports, C# Code 39 Generator for Windows Azure. All of these ITF-14 generators allow adjusting the ITF-14 image settings.

OnBarcode C# Barcode Generator is designed to generate, create ITF-14 and other linear & 2d barcodes in Microsoft Word. Here are some more tutorials for C# ITF-14 generation concerning data encoding and size setting.

 

Generating ITF-14 by Adjusting the Image Format in C#.NET

As referring to the image format, C# .NET ITF-14 image format setting property provides 5 image formats to generate high quality ITF-14 images in C# projects:

Linear itf14 = new Linear();

itf14.Type = BarcodeType.ITF14;

itf14.Data = "5531335720123";

Generating ITF-14 in PNG Format

You may set the PNG format to generate ITF-14 images in C#.NET Class & console application:

itf14.Format = ImageFormat.Png;

itf14.drawBarcode("c:\ITF-14.png");

Creating ITF-14 with JPEG Format

You may set the JEPG format to output ITF-14 images in C# ASP.NET web projects:

itf14.Format = ImageFormat.Jpeg;

itf14.drawBarcode("c:\ITF-14.jpeg");

Drawing ITF-14 in Gif Format

You may set the GIF format to generate ITF-14 images in C#.NET Windows Forms programming:

itf14.Format = ImageFormat.Gif;

itf14.drawBarcode("c:\ITF-14.gif");

Creating ITF-14 in Tiff Format

You may set the TIFF format to draw ITF-14 images in SQL Server Reporting Service (SSRS) & Crystal Reports:

itf14.Format = ImageFormat.Tiff;

itf14.drawBarcode("c:\ITF-14.tiff");

Creating ITF-14 in BMP Format

You may set the BMP format to create ITF-14 images in C# class.:

ITF-14.Format = ImageFormat.Bmp;

ITF-14.drawBarcode("c:\ITF-14.bmp");

 

Rotating ITF-14 Image for C#.NET Programming

C# .NET ITF-14 image rotation setting supports rotating the generated ITF-14 image with 0, 90, 180, 270 degrees in C# projects:

Linear itf14 = new Linear();

itf14.Type = BarcodeType.ITF14;

itf14.Data = "1234567890123";

itf14.Rotate = Rotate.Rotate90;

 

C#.NET ITF-14 Image Resolution Setting

C# .NET ITF-14 image resolution setting allows setting the resolution for the created image in C# programming:

Linear itf14 = new Linear();

itf14.Type = BarcodeType.ITF14;

itf14.Data = "9876543210321";

itf14.Resolution = 120;

 

C#.NET ITF-14 Image Color Setting

C# .NET ITF-14 image color can be easily integrated with changing the text color, background color and bar color when generating ITF-14 in C# class:

Linear itf14 = new Linear();

itf14.Type = BarcodeType. ITF14;

itf14.Data = "7654321654321";

itf14.BackColor = Color.Blue;

itf14.ForeColor = Color.White;

itf14.TextColor = Color.Red;

 

C#.NET ITF-14 Bar Alignment Setting

Besides image format, image resolution, image rotation and image color, ITF-14 Generator for C# image setting properties can set bar alignment.

Linear itf14 = new Linear();

itf14.Type = BarcodeType.ITF14;

itf14.Data = "1234561234657";

itf14.BarcodeWidth=200;

itf14.BarAlignment = AlignmentHori.Right;

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 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 high quality tutorials and guides for various linear, 2d barcode information, such as C# Barcode, QR Code C#, QR Code VB.NET, QR Code ASP.NET, QR Code .NET, ASP.NET Barcode. 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.