ByteScout BarCode Generator SDK - C# - Fit Barcode Into Size - ByteScout

ByteScout BarCode Generator SDK – C# – Fit Barcode Into Size

  • Home
  • /
  • Articles
  • /
  • ByteScout BarCode Generator SDK – C# – Fit Barcode Into Size

fit barcode into size in C# and ByteScout Barcode SDK

How to use ByteScout Barcode SDK for fit barcode into size in C#

These source code samples are listed and grouped by their programming language and functions they use. ByteScout Barcode SDK helps with fit barcode into size 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.

Fast application programming interfaces of ByteScout Barcode SDK for C# plus the instruction and the C# code below will help you quickly learn fit barcode into size. To do fit barcode into size in your C# project or application you may simply copy & paste the code and then run your app! Further enhancement of the code will make it more vigorous.

Our website provides free trial version of ByteScout Barcode SDK. It comes along with all these source code samples with the goal to help you with your C# application implementation.

Try ByteScout Barcode SDK today:  60 Day Free Trial (on-premise) or  Web API (on-demand version)

Program.cs
      
using System.Diagnostics; using Bytescout.BarCode; namespace FitInto { class Program { static void Main(string[] args) { // Create new barcode Barcode barcode = new Barcode(); // Set symbology barcode.Symbology = SymbologyType.Code39; // Set value barcode.Value = "Sample"; // Specify barcode size by bounds to fit into. // You can use any measure units. barcode.FitInto(5, 3, UnitOfMeasure.Inch); // Save barcode to image barcode.SaveImage("result.png"); // Show image in default image viewer Process.Start("result.png"); } } }

Try ByteScout Barcode SDK today:  60 Day Free Trial (on-premise) or  Web API (on-demand version)

VIDEO

ON-PREMISE VERSION INFORMATION

Get 60 Day Free Trial or Visit ByteScout Barcode SDK Home Page

Explore ByteScout Barcode SDK Documentation

Get ByteScout Barcode SDK Free Training

WEB API

Get Your Free API Key

Explore Web API Documentation

Tutorials:

prev
next