ByteScout BarCode Generator SDK - C# - QR Code Barcode With Image inside - ByteScout

ByteScout BarCode Generator SDK – C# – QR Code Barcode With Image inside

  • Home
  • /
  • Articles
  • /
  • ByteScout BarCode Generator SDK – C# – QR Code Barcode With Image inside

QR code barcode with image inside in C# and ByteScout Barcode SDK

QR code barcode with image inside in C#

Today we will explain the steps and algorithm of implementing QR code barcode with image inside and how to make it work in your application. ByteScout Barcode SDK helps with QR code barcode with image inside in C#. ByteScout Barcode SDK is 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.

Fast application programming interfaces of ByteScout Barcode SDK for C# plus the instruction and the C# code below will help you quickly learn QR code barcode with image inside. Follow the instruction from the scratch to work and copy and paste code for C# into your editor. Use of ByteScout Barcode SDK in C# is also explained in the documentation included along with the product.

ByteScout Barcode SDK free trial version is available for download from our website. Free trial also includes programming tutorials along with source code samples.

Try ByteScout Barcode SDK today: Get 60 Day Free Trial or sign up for Web API

Program.cs
      
using System; using Bytescout.BarCode; namespace QRCodeWithImage { class Program { static void Main(string[] args) { const string decorationImageFile = @".\logo.png"; const string outputFile = @".\barcode.png"; const string barcodeValue = "1234567890 abcdefghijklmnopqrstuvwxyz 1234567890 abcdefghijklmnopqrstuvwxyz"; // Create and activate barcode generator instance using (Barcode barcode = new Barcode("demo", "demo")) { // Set barcode type barcode.Symbology = SymbologyType.QRCode; // Set high QR Code error correction level barcode.Options.QRErrorCorrectionLevel = QRErrorCorrectionLevel.High; // Set barcode value barcode.Value = barcodeValue; // Add decoration image and scale it to 15% of the barcode square barcode.AddDecorationImage(decorationImageFile, 15); // Save generated barcode barcode.SaveImage(outputFile); Console.WriteLine("Barcode saved to " + outputFile); Console.WriteLine(); Console.WriteLine("Press any key..."); Console.ReadKey(); } } } }

Try ByteScout Barcode SDK 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 Barcode SDK page

Explore ByteScout Barcode SDK documentation

WEB API

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next