.NET Core C# Micro PDF417 Generator Library DLL
How to generate, create 2d barcode Micro PDF417 images using .NET Core C# class library
"This .NET suite helps my team a lot, a bunch of time being saved. OnBarcode support is awesome, and we couldn't ask more than this."
- Bill Twain, Canada
Using Micro PDF417 C#.NET Barcode Library to create Micro PDF417 barcode images in .NET Applications
Generate Micro PDF-417 Barcode Images Using .NET Core C# Class
Top
Please use the following C# sample code to create a Micro PDF417 barcode image for Visual Studio .NET Framework applications:
using System;
using System.Collections.Generic;
using System.Text;
using OnBarcode.Barcode;
using System.Drawing.Imaging;
using System.Drawing;
MicroPDF417 Micro_PDF417 = new MicroPDF417();
/*
Micro PDF417 valid data character set:
1) Text Compaction mode (see 5.4.2) permits all printable ASCII characters to be encoded, i.e.
values 32 to 126 inclusive in accordance with ISO/IEC 646, as well as selected control characters.
2) Byte Compaction mode (see 5.4.3) permits all 256 possible 8-bit byte values to be encoded. This
includes all ASCII characters value 0 to 127 inclusive and provides for
international character set support.
3) Numeric Compaction mode (see 5.4.4) permits efficient encoding of numeric data strings.
*/
Micro_PDF417.Data = "OnBarcodeMicroPDF417";
Micro_PDF417.DataMode = PDF417DataMode.Auto;
// Micro PDF417 Image Size Related Settings
Micro_PDF417.UOM = UnitOfMeasure.PIXEL;
Micro_PDF417.X = 2;
Micro_PDF417.XtoYRatio = 0.3333333f;
Micro_PDF417.BarcodeHeight = 72;
Micro_PDF417.BarcodeWidth = 210;
Micro_PDF417.Version = MicroPDF417Version.Version_4X10;
Micro_PDF417.LeftMargin = 2;
Micro_PDF417.RightMargin = 2;
Micro_PDF417.TopMargin = 2;
Micro_PDF417.BottomMargin = 2;
// Other Related Settings
Micro_PDF417.Rotate = Rotate.Rotate0;
Micro_PDF417.Resolution = 72;
// Create Micro PDF417 and encode barcode to png format
Micro_PDF417.ImageFormat = System.Drawing.Imaging.ImageFormat.Png;
Micro_PDF417.drawBarcode("C://micro_pdf417.png");
// Print Micro PDF417 to C# Bitmap object
Bitmap Micro_PDF417Bitmap = Micro_PDF417.drawBarcode();
More C# Barcode Generation Tutorials for Each Barcode
Top
Barcode Control for C#.NET - Bar Code Type Generation