ByteScout Premium Suite - C# - Set codabar barcode options with barcode sdk - ByteScout

ByteScout Premium Suite – C# – Set codabar barcode options with barcode sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Premium Suite – C# – Set codabar barcode options with barcode sdk

How to set codabar barcode options with barcode sdk in C# using ByteScout Premium Suite

How to write a robust code in C# to set codabar barcode options with barcode sdk with this step-by-step tutorial

The sample shows instructions and algorithm of how to set codabar barcode options with barcode sdk and how to make it run in your C# application. ByteScout Premium Suite is the set that includes 12 SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording. It can set codabar barcode options with barcode sdk in C#.

Want to save time? You will save a lot of time on writing and testing code as you may just take the C# code from ByteScout Premium Suite for set codabar barcode options with barcode sdk below and use it in your application. Just copy and paste the code into your C# application’s code and follow the instructions. Complete and detailed tutorials and documentation are available along with installed ByteScout Premium Suite if you’d like to learn more about the topic and the details of the API.

Trial version of ByteScout Premium Suite is available for free. Source code samples are included to help you with your C# app.

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

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Premium Suite Home Page

Explore ByteScout Premium Suite Documentation

Explore Samples

Sign Up for ByteScout Premium 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 Premium Suite Home Page

Explore ByteScout Premium Suite Documentation

Explore Samples

Sign Up for ByteScout Premium Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next