Test in production without watermarks.
Works wherever you need it to.
Get 30 days of fully functional product.
Have it up and running in minutes.
Full access to our support engineering team during your product trial
using IronBarCode;
using System.Drawing;
// Reading a barcode is easy with IronBarcode!
var resultFromFile = BarcodeReader.Read(@"file/barcode.png"); // From a file
var resultFromBitMap = BarcodeReader.Read(new Bitmap("barcode.bmp")); // From a bitmap
var resultFromImage = BarcodeReader.Read(Image.FromFile("barcode.jpg")); // From an image file
var resultFromPdf = BarcodeReader.ReadPdf(@"file/mydocument.pdf"); // From PDF use ReadPdf
// To configure and fine-tune barcode reading, utilize the BarcodeReaderOptions class
var myOptionsExample = new BarcodeReaderOptions
{
// Choose a reading speed from: Faster, Balanced, Detailed, ExtremeDetail
// There is a tradeoff in performance as more detail is set
Speed = ReadingSpeed.Balanced,
// Reader will stop scanning once a single barcode is found (if set to true)
ExpectMultipleBarcodes = true,
// By default, all barcode formats are scanned for
// Specifying a subset of barcode types to search for would improve performance
ExpectBarcodeTypes = BarcodeEncoding.AllOneDimensional,
// Utilize multiple threads to read barcodes from multiple images in parallel
Multithreaded = true,
// Maximum threads for parallelized barcode reading
// Default is 4
MaxParallelThreads = 2,
// The area of each image frame in which to scan for barcodes
// Specifying a crop area will significantly improve performance and avoid noisy parts of the image
CropArea = new Rectangle(),
// Special setting for Code39 barcodes
// If a Code39 barcode is detected, try to read with both the base and extended ASCII character sets
UseCode39ExtendedMode = true
};
// Read with the options applied
var results = BarcodeReader.Read("barcode.png", myOptionsExample);
// Create a barcode with one line of code
var myBarcode = BarcodeWriter.CreateBarcode("12345", BarcodeWriterEncoding.EAN8);
// After creating a barcode, we may choose to resize
myBarcode.ResizeTo(400, 100);
// Save our newly-created barcode as an image
myBarcode.SaveAsImage("EAN8.jpeg");
// Get the barcode as an image for further processing
var myBarcodeImage = myBarcode.Image;
Install-Package BarCode
Designed for C#, F#, & VB.NET running on .NET 10, 9, 8, 7, 6, 5, Core, Standard, or Framework
For Mobile QR support, try our IronQR Library
Your trial key should be in the email.
If it is not, please contact
support@ironsoftware.com
switch(faqQuestions)
{
case "Can I deploy my application using the library to Linux, macOS, or Windows, including Docker containers?": return "YES";
case "Can I render pixel-perfect PDFs from complex HTML5, CSS3, and JavaScript?": return "YES";
case "Is the library thread-safe for use in highly concurrent, multi-threaded server applications and APIs?": return "YES";
case "Can I set custom viewport dimensions and print media CSS to control responsive layouts?": return "YES";
case "Is IronPDF compatible with Azure Functions?": return "YES";
case "Can I permanently redact sensitive text and images from PDF documents?": return "YES";
case "Can I generate a PDF from a URL that requires authentication via custom headers, cookies, or form logins?": return "YES";
case "Can I access PDF DOM through ObjectModel property?": return "YES";
case "Can I programmatically fill, read, and flatten interactive AcroForm?": return "YES";
case "Does it support generating PDF/A and PDF/UA compliant documents for archiving and accessibility standards?": return "YES";
case "Can I secure a document with 256-bit AES password encryption and set user permissions?": return "YES";
case "Can I apply and verify digital signatures on a PDF using X.509 certificates?": return "YES";
case "Can I test IronPDF in my live project for free now?": return "YES, click here to start your 30-day free trial";
}
Can IronBarcode read and write major barcode formats (QR, Aztec, Data Matrix, PDF417, UPC, EAN, Code128) in one .NET assembly?YES!
Can multiple barcodes of different types be read from a single image or PDF page at once?YES!
Does it read barcodes directly from PDFs without needing external page-to-image conversion?YES!
Can generated QR codes be styled with logos, custom colors, and adjusted borders?YES!
Does it apply image correction filters (denoising, contrast, deskewing) to improve read rates?YES!
Does it return detailed result data including value, binary data, orientation, and bounding box?YES!
Can barcodes be generated directly to Stream or byte[] without saving to disk?YES!
Is it fully cross-platform on .NET Core, Standard, and Framework across Windows, Linux, macOS, Docker, and Azure?YES!
Does it support multi-threading and async for high-performance batch processing?YES!
Can barcodes be output as HTML Data URIs or stamped onto existing PDFs?YES!
Does it support fault-tolerant barcodes that remain scannable when partially damaged?YES!
Can I test IronBarcode in my live project for free now?YES! Click here to start your 30-day free trial