ByteScout BarCode Generator SDK - C# - Draw Barcode Caption - ByteScout

ByteScout BarCode Generator SDK – C# – Draw Barcode Caption

  • Home
  • /
  • Articles
  • /
  • ByteScout BarCode Generator SDK – C# – Draw Barcode Caption

How to draw barcode caption in C# and ByteScout Barcode SDK

The tutorial shows how to draw barcode caption in C#

The coding tutorials are designed to help you test the features without need to write your own code. ByteScout Barcode SDK: 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 draw barcode caption in 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 draw barcode caption. This C# sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! 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: Get 60 Day Free Trial or sign up for Web API

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"; // Turn off caption barcode.DrawCaption = false; // 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 version) or sign up for Web API (on demand version)

VIDEO

ON-PREMISE VERSION

Get 60 Day Free Trial or Visit ByteScout Barcode SDK page

Explore ByteScout Barcode SDK documentation

WEB API

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next