An easy to understand sample source code to learn how to set unicode value for barcode with barcode sdk in C# ByteScout Premium Suite: the bundle that includes twelve SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording. It can set unicode value for barcode 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 unicode value for barcode with barcode sdk below and use it in your application. 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! This basic programming language sample code for C# will do the whole work for you to set unicode value for barcode with barcode sdk.
You can download free trial version of ByteScout Premium Suite 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)
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"); } } }
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
Get Your API Key
Explore Web API Docs
Explore Web API Samples
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
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: