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#.

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

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