ByteScout Barcode Suite - C# - Set unicode value for barcode with barcode sdk - ByteScout

ByteScout Barcode Suite – C# – Set unicode value for barcode with barcode sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Barcode Suite – C# – Set unicode value for barcode with barcode sdk

How to set unicode value for barcode with barcode sdk in C# using ByteScout Barcode Suite

Continuous learning is a crucial part of computer science and this tutorial shows how to set unicode value for barcode with barcode sdk in C#

The sample source code below will teach you how to set unicode value for barcode with barcode sdk in C#. ByteScout Barcode Suite: the bundle that privides 3 SDK products to generate barcodes (Barcode SDK), read barcodes (Barcode Reaer SDK) and read and write spreadsheets (Spreadsheet SDK). It can set unicode value for barcode with barcode sdk in C#.

This prolific sample source code in C# for ByteScout Barcode Suite contains various functions and other necessary options you should do calling the API to set unicode value for barcode with barcode sdk. Simply copy and paste in your C# project or application you and then run your app! Complete and detailed tutorials and documentation are available along with installed ByteScout Barcode Suite if you’d like to learn more about the topic and the details of the API.

ByteScout Barcode Suite free trial version is available on our website. C# and other programming languages are supported.

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 Suite Home Page

Explore ByteScout Barcode Suite Documentation

Explore Samples

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

Explore ByteScout Barcode Suite Documentation

Explore Samples

Sign Up for ByteScout Barcode Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next