ByteScout BarCode Generator SDK - C# - Set Code 128 Barcode Options - ByteScout

ByteScout BarCode Generator SDK – C# – Set Code 128 Barcode Options

  • Home
  • /
  • Articles
  • /
  • ByteScout BarCode Generator SDK – C# – Set Code 128 Barcode Options

How to set code 128 barcode options in C# and ByteScout Barcode SDK

The tutorial below will demonstrate how to set code 128 barcode options in C#

The documentation is designed to help you to implement the features on your side. What is ByteScout Barcode SDK? It 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. It can help you to set code 128 barcode options in your C# application.

C# code samples for C# developers help to speed up coding of your application when using ByteScout Barcode SDK. In your C# project or application you may simply copy & paste the code and then run your app! You can use these C# sample examples in one or many applications.

Free trial version of ByteScout Barcode SDK is available for download from our website. Get it to try other source code samples for C#.

Try ByteScout Barcode SDK today:  60 Day Free Trial (on-premise) or  Web API (on-demand version)

Program.cs
      
using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; using Bytescout.BarCode; namespace Sample { class Program { static void Main(string[] args) { // Create new barcode Barcode barcode = new Barcode(); // Set symbology barcode.Symbology = SymbologyType.Code128; // Set value barcode.Value = "123456"; // Set Code 128 alphabet barcode.Options.Code128Alphabet = Code128Alphabet.C; // Save barcode to image barcode.SaveImage("result.png"); // Show image in default image viewer Process.Start("result.png"); } } }

Try ByteScout Barcode SDK today:  60 Day Free Trial (on-premise) or  Web API (on-demand version)

VIDEO

ON-PREMISE VERSION INFORMATION

Get 60 Day Free Trial or Visit ByteScout Barcode SDK Home Page

Explore ByteScout Barcode SDK Documentation

Get ByteScout Barcode SDK Free Training

WEB API

Get Your Free API Key

Explore Web API Documentation

Tutorials:

prev
next