ByteScout Barcode Suite - C# - Generate pdf417 barcode with binary data with barcode sdk - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

ByteScout Barcode Suite – C# – Generate pdf417 barcode with binary data with barcode sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Barcode Suite – C# – Generate pdf417 barcode with binary data with barcode sdk

How to generate pdf417 barcode with binary data with barcode sdk in C# and ByteScout Barcode Suite

Continuous learning is a crucial part of computer science and this tutorial shows how to generate pdf417 barcode with binary data with barcode sdk in C#

The code displayed below will guide you to install an C# app to generate pdf417 barcode with binary data with barcode sdk. ByteScout Barcode Suite can generate pdf417 barcode with binary data with barcode sdk. It can be applied from C#. ByteScout Barcode Suite is the set that includes three different SDK products to generate barcodes, read barcodes and read and write spreadsheets: Barcode SDK, Barcode Reader SDK and Spreadsheet SDK.

Want to quickly learn? This fast application programming interfaces of ByteScout Barcode Suite for C# plus the guidelines and the code below will help you quickly learn how to generate pdf417 barcode with binary data with barcode sdk. Simply copy and paste in your C# project or application you and then run your app! Use of ByteScout Barcode Suite in C# is also described in the documentation included along with the product.

ByteScout Barcode Suite free trial version is available on our website. C# and other programming languages are supported.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

Program.cs
      
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"); } } } }

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Barcode Suite Home Page

Explore ByteScout Barcode Suite Documentation

Explore Samples

Sign Up for ByteScout Barcode Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Barcode Suite Home Page

Explore ByteScout Barcode Suite Documentation

Explore Samples

Sign Up for ByteScout Barcode Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next