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.

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

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout QR Code Home Page

Explore ByteScout QR Code Documentation

Explore Samples

Sign Up for ByteScout QR Code 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 QR Code Home Page

Explore ByteScout QR Code Documentation

Explore Samples

Sign Up for ByteScout QR Code Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next