ByteScout BarCode Generator SDK - C# - Composed Barcode - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

ByteScout BarCode Generator SDK – C# – Composed Barcode

  • Home
  • /
  • Articles
  • /
  • ByteScout BarCode Generator SDK – C# – Composed Barcode

composed barcode in C# with ByteScout Barcode SDK

Learn composed barcode in C#

The example source codes on this page will display you how to make composed barcode in C#. ByteScout Barcode SDK helps with composed barcode in C#. ByteScout Barcode SDK is the fully featured library to generate barcodes. Supports QR Code, Code 39, Code 128, UPC, GS1, GS-128, PDF417, Datamatrix and many other barcode types. Includes various options for barcode generation to ensure output quality, add barcodes to new or existing pdf files and images.

C# code snippet like this for ByteScout Barcode SDK works best when you need to quickly implement composed barcode in your C# application. Follow the steps-by-step instructions from the scratch to work and copy and paste code for C# into your editor. This basic programming language sample code for C# will do the whole work for you in implementing composed barcode in your app.

If you want to try other samples for C# then free trial version of ByteScout Barcode SDK is available on our website.

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 Bytescout.BarCode; using System.Drawing; namespace Sample { class Program { static void Main(string[] args) { // Result file var resultFile = "result.png"; using (Barcode barcode = new Barcode("demo", "demo")) { barcode.Symbology = SymbologyType.Code128; barcode.Margins = new Margins(0, 0, 0, 0); barcode.DrawQuietZones = false; barcode.Value = "123123"; Image image1 = barcode.GetImage(); barcode.Value = "123"; Image image2 = barcode.GetImage(); using (ImageComposer composer = new ImageComposer(innerGap: 10, margins: 5, compositionMode: CompositionMode.ArrangeHorizontally)) { composer.AddImage(image1); composer.AddImage(image2, 0, 0, rotationAngle: 90); composer.SaveComposedImage(resultFile); } } // Open output file Process.Start(resultFile); } } }

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Barcode SDK Home Page

Explore ByteScout Barcode SDK Documentation

Explore Samples

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

Explore ByteScout Barcode SDK Documentation

Explore Samples

Sign Up for ByteScout Barcode SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next