ByteScout QR Code SDK - C# - Create Colored QR Code - ByteScout

ByteScout QR Code SDK – C# – Create Colored QR Code

  • Home
  • /
  • Articles
  • /
  • ByteScout QR Code SDK – C# – Create Colored QR Code

How to create colored QR code in C# with ByteScout QR Code

This tutorial will show how to create colored QR code in C#

We made thousands of pre-made source code pieces for easy implementation in your own programming projects. ByteScout QR Code is QR Code barcode generator SDK with tunnable quality and features like QR Code embedded logo or images. Supports batch generation and specialized features like encoding of vCard and other structures inside QR Code barcodes. It can create colored QR code in C#.

The SDK samples like this one below explain how to quickly make your application do create colored QR code in C# with the help of ByteScout QR Code. Follow the instructions from the scratch to work and copy the C# code. Code testing will allow the function to be tested and work properly with your data.

Free trial version of ByteScout QR Code is available on our website. Documentation and source code samples are included.

Try ByteScout QR Code today: Get 60 Day Free Trial or sign up for Web API

Program.cs
      
using System.Diagnostics; using System.Drawing; using Bytescout.BarCode; namespace ColoredQRCode { class Program { static void Main(string[] args) { // Create and activate QRCode instance using (QRCode barcode = new QRCode()) { barcode.RegistrationName = "demo"; barcode.RegistrationKey = "demo"; // Set background color barcode.BackColor = Color.Yellow; // Set foreground color barcode.ForeColor = Color.Red; // Set value barcode.Value = "ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 1234567890"; // Save barcode to image barcode.SaveImage("result.png"); } // Open the image in default image viewer (for demo purpose) Process.Start("result.png"); } } }

Try ByteScout QR Code 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 QR Code page

Explore ByteScout QR Code documentation

WEB API

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next