Sample source codes below will show you how to cope with a difficult task, for example, pdf417 barcode with binary data in C#. ByteScout Barcode SDK helps with pdf417 barcode with binary data in C#. ByteScout Barcode SDK is the fully featured library to generate barcodes. Supports QR Code, Code 39, Code 128, UPC, GS1, GS-128, PDF417, Datamatrix and many other barcode types. Includes various options for barcode generation to ensure output quality, add barcodes to new or existing pdf files and images.
This rich sample source code in C# for ByteScout Barcode SDK includes the number of functions and options you should do calling the API to implement pdf417 barcode with binary data. Follow the instruction from the scratch to work and copy and paste code for C# into your editor. Use of ByteScout Barcode SDK in C# is also explained in the documentation included along with the product.
Free trial version of ByteScout Barcode SDK is available on our website. Get it to try other samples for C#.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
using System.Diagnostics; using System.Text; using Bytescout.BarCode; namespace PDF417WithBinaryData { class Program { static void Main(string[] args) { // Create Barcode component instance using (Barcode barcode = new Barcode()) { barcode.RegistrationName = "demo"; barcode.RegistrationKey = "demo"; // Set barcode type barcode.Symbology = SymbologyType.PDF417; // Force binary mode barcode.Options.PDF417CompactionMode = PDF417CompactionMode.Binary; // Sample byte array to use as value byte[] byteArray = new byte[] { 0, 10, 11, 12, 13, 14, 15, 0xFF }; // Set value by converting byte array to string barcode.Value = Encoding.ASCII.GetString(byteArray); // Save barcode image barcode.SaveImage("result.png"); // Open output image in default associated application Process.Start("result.png"); } } } }
60 Day Free Trial or Visit ByteScout Barcode SDK Home Page
Explore ByteScout Barcode SDK Documentation
Explore Samples
Sign Up for ByteScout Barcode SDK Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout Barcode SDK Home Page
Explore ByteScout Barcode SDK Documentation
Explore Samples
Sign Up for ByteScout Barcode SDK Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: