ByteScout BarCode Generator SDK - C# - Set Unicode Value For Barcode - ByteScout

ByteScout BarCode Generator SDK – C# – Set Unicode Value For Barcode

  • Home
  • /
  • Articles
  • /
  • ByteScout BarCode Generator SDK – C# – Set Unicode Value For Barcode

How to set unicode value for barcode in C# using ByteScout Barcode SDK

How to code in C# to set unicode value for barcode with this step-by-step tutorial

Source code documentation samples provide quick and easy way to add a required functionality into your application. ByteScout Barcode SDK: the robost SDK that generates high quality barcode images and pdf. Can generate all popular types of barcodes from QR Code, Code 39, Code 128, UPC, GS1, GS-128, PDF417, Datamatrix to more exotic barcode types. Fully customizable fonts, colors, print sizes. Includes special functions to ensure output quality, and tools for adding barcodes to new or existing pdf files and images. It can set unicode value for barcode in C#.

The SDK samples like this one below explain how to quickly make your application do set unicode value for barcode in C# with the help of ByteScout Barcode SDK. In your C# project or application you may simply copy & paste the code and then run your app! Further enhancement of the code will make it more vigorous.

You can download free trial version of ByteScout Barcode SDK from our website to see and try many others source code samples for C#.

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 System.Drawing; using Bytescout.BarCode; namespace Sample { class Program { static void Main(string[] args) { // Create new barcode Barcode barcode = new Barcode("demo", "demo"); // Set symbology barcode.Symbology = SymbologyType.QRCode; // set QR code encoding to UTF8 so will be able to encode Unicode barcode.Options.Encoding = Encoding.UTF8; // Set Unicode barcode value string ?? barcode.Value = "??"; // show caption for 2d barcodes barcode.DrawCaptionFor2DBarcodes = true; // set caption font to Arial Unicode MS so it will display the caption barcode.CaptionFont = new Font("Arial Unicode MS", 8); // Save barcode to image barcode.SaveImage("qrcode.png"); // Show image in default image viewer Process.Start("qrcode.png"); } } }

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Barcode SDK Home Page

Explore ByteScout Barcode SDK Documentation

Explore Samples

Sign Up for ByteScout Barcode SDK 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 SDK Home Page

Explore ByteScout Barcode SDK Documentation

Explore Samples

Sign Up for ByteScout Barcode SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next