ByteScout BarCode Generator SDK - C# - Set Codabar Barcode Options - ByteScout

ByteScout BarCode Generator SDK – C# – Set Codabar Barcode Options

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

How to set codabar barcode options in C# using ByteScout Barcode SDK

This tutorial will show how to set codabar barcode options in C#

Learn how to set codabar barcode options in C# with this source code sample. 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 and you can use it to set codabar barcode options with C#.

Fast application programming interfaces of ByteScout Barcode SDK for C# plus the instruction and the code below will help you quickly learn how to set codabar barcode options. Follow the instructions from the scratch to work and copy the C# code. Implementing C# application typically includes multiple stages of the software development so even if the functionality works please test it with your data and the production environment.

ByteScout free trial version is available for download from our website. It includes all these programming tutorials along with source code samples.

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.Codabar; // Set value barcode.Value = "123456"; // Checksum algorithm barcode.Options.CodabarChecksumAlgorithm = CodabarChecksumAlgorithm.Modulo9; // Start symbol barcode.Options.CodabarStartSymbol = CodabarSpecialSymbol.C; // Stop symbol barcode.Options.CodabarStopSymbol = CodabarSpecialSymbol.A; // Draw intercharacter gap barcode.Options.DrawIntercharacterGap = true; // Show start/stop symbols barcode.Options.ShowStartStop = true; // 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