IRONSOFTWARE
  • PRODUCTS
  • OPEN SOURCE
  • ABOUT US
  • CONTACT US
205 N. Michigan Ave. Chicago, IL 60611, USA
+1 (312) 500-3060
Join Iron Slack

Our Company

  • About Us 
  • Company News 
  • Customers 
  • Environmental Commitments 
  • Beta Program 
  • Year in Review: 2022 

Sales Partners

  • Global Resellers 

Contact Us

  • Live Chat 
  • Send an Email 
+1 (312) 500-3060
205 N. Michigan Ave.
Chicago, IL 60611, USA

Careers at Iron

Join our teamJoin our team
We're hiring
ironpdf_logo
ironpdf_logo
for
Create, read, and edit PDFs
ironocr_logo
ironocr_logo
for
Image to text in 127 languages
ironxl_logo
ironxl_logo
for
Edit Excel & CSV Files.
No Office Interop required
ironzip_logo
ironzip_logo
for
Zip and unzip archives
ironqr_logo
ironqr_logo
for
Read & write QR codes with ML detection
ironbarcode_logo
ironbarcode_logo
for
Read and write Barcodes
ironwebscraper_logo
ironwebscraper_logo
for
Extract structured data from websites
7 for the Price of 2 Full Suite of products from $1498 Save 70% with Iron Suite
Iron Suites - Donate $50
irondrawing_logo
irondrawing_logo
for
System.Drawing.Common Replacement
ironfreetools_logo
ironfreetools_logo
Free Software Development Tools
Iron Barcode Library for C# .NET
  • Home
  • Licensing
    • Licensing
    • EULA
    • Support & Update Extensions
    • License Upgrades
    • Start Free Trial
  • Features
  • Docs
    • Get Started
    • Code Examples
    • Tutorials
    • How-Tos
    • Troubleshooting
    • Product Updates
    • API Reference  
Search
Ctrl
K
Free NuGet DownloadTotal downloads: 730,067 Start for FreeTotal downloads: 730,067
Iron Barcode Library for C# .NET
for
.NET
  • IRONSOFTWARE HOME
  • PRODUCTS
    • IRONSUITE

    • IRONPDF
      UPDATED
    • IRONOCR
    • IRONXL
    • IRONZIP
    • IRONQR
    • IRONBARCODE
    • IRONWEBSCRAPER
  • OPEN SOURCE
    • IRONDRAWING
    • IRONFREETOOLS
  • ABOUT US
    • About US
    • Company News
    • Environmental Commitments
    • Beta Program
    • Year in Review: 2022
    • Live Chat
    • Global Resellers
    • Join our team
  • CONTACT US
  • HOME
  • LICENSING
    • Licensing
    • EULA
    • Support & Update Extensions
    • License Upgrades

    • Start Free Trial
  • FEATURES
  • DOCS
    • Get Started
    • Code Examples
    • Tutorials
    • How-Tos
    • Troubleshooting
    • Product Updates

    • API Reference  
Message's icon
IronBarcode
IronBarcode
Iron Software Product Iron Software Documents

Search

CtrlK

PM >Install-Package BarCode

  • Get Started
  • Code Examples
    • Reading Barcodes in C# / .NET
    • C# Barcode Image Generator
    • C# QR Code Generator
    • Compatibility
      • License Keys
      • Setup on macOS
      • Setup on Azure
      • Setup on Docker
      • Setup on Linux
      • Using IronBarcode with Blazor
      • Read Barcodes in .NET MAUI
    • Reading Barcodes
      • Read Barcode from Image
      • Read Multipage GIF and TIFF
      • Read Barcode from System.Drawing
      • Read Barcode from Streams
      • Read Barcode from PDF
      • Read Multiple Barcodes
      • Use Async and Multithread
      • Image Correction
      • Output Data Formats
      • Specify Crop Regions
    • Writing Barcodes
      • Create Barcode as Image
      • Export Barcode as Stream
      • Create Barcode as HTML
      • Create Barcode as PDF
      • Stamp Barcode on PDF
      • Create Barcode from Text, URLs, IDs, Numbers & Binary Data
      • Set Fault Tolerance
      • Customize and Style Barcodes
      • Customize and Style QR Codes
    • Troubleshooting Guides
      • Apply a license key in IronBarcode
      • Support Barcode Formats
      • Barcode not Recognized
      • False Positives
      • Engineering Request​ - IronBarcode
      • GS1-128
    • Exception Messages
      • IronBarcode - Alternative to System.Drawing.Common
    • Common Questions
      • IronBarcode - Security CVE
    • Changelog
  • API Reference
Free for development from NuGet

Install with NuGet nuget.org/packages/BarCode

PM > Install-Package BarCode

Read Many Image Formats
Barcode Quickstart Read Barcode Read Barcodes Asyncronously
Set Accuracy & Performance
Set Barcode Reader Options Set PDF Barcode Reader Options
Image Correction Filters
Imperfect Barcodes and Image Correction
Write to Document Types
Create Barcode Create QR Code
Encoding Barcode Data
Save Barcode
Styling Barcodes
Style Barcode Style QR Code

Set PDF Barcode Reader Options

using IronBarCode;

PdfBarcodeReaderOptions myPdfOptionsExample = new PdfBarcodeReaderOptions()
{

    // The password string to open the PDF if there is one.
    Password = "password123",

    // Pages of the PDF you want to scan
    PageNumbers = new[] { 1, 3 },

    // By default, all barcode formats are scanned for.
    // Specifying one or more, performance will increase.
    ExpectBarcodeTypes = BarcodeEncoding.AllOneDimensional,

    // The DPI (Dots per inch) to render each Barcode image.
    DPI = 72,

    // The scaling factor to scale the Width and Height when converting the PDF to Image.
    // Default is 3.5
    Scale = 4
};

// And, apply:
var results = BarcodeReader.ReadPdf("barcode.pdf", myPdfOptionsExample);
Imports IronBarCode

Private myPdfOptionsExample As New PdfBarcodeReaderOptions() With {
	.Password = "password123",
	.PageNumbers = { 1, 3 },
	.ExpectBarcodeTypes = BarcodeEncoding.AllOneDimensional,
	.DPI = 72,
	.Scale = 4
}

' And, apply:
Private results = BarcodeReader.ReadPdf("barcode.pdf", myPdfOptionsExample)
Install-Package BarCode

Set PDF Barcode Reader Options

IronBarcode has a variety of options in the PdfBarcodeReaderOptions class to support customized and optimized reads for PDFs specifically. This will handle PDF passwords, choosing which pages to scan, the DPI to parse the PDF in, and any additional scaling needed to improve the read quality.

Related Docs Links

Ready to get started? Version: 2023.12 just released

Start for Free Total downloads: 730,067
View Licenses >
Try IronBarcode for Free
Get Set Up in 5 Minutes
C# NuGet Library for PDF
Install with NuGet
Version: 2023.12
Install-Package BarCode
nuget.org/packages/BarCode/
  1. In Solution Explorer, right-click References, Manage NuGet Packages
  2. Select Browse and search "IronBarCode"
  3. Select the package and install
C# PDF DLL
Download DLL
Version: 2023.12
Download Now
Manually install into your project
  1. Download and unzip IronBarCode to a location such as ~/Libs within your Solution directory
  2. In Visual Studio Solution Explorer, right click References. Select Browse, "IronBarCode.dll"
Licenses from $749

Have a question? Get in touch with our development team.

15 1000 1
Now that you’ve downloaded IronBarcode
Want to deploy IronBarcode to a live project for FREE?
Not ready to buy?

Want to deploy IronBarcode to a live project for FREE?

What’s included?
Test in production without watermarks
30 days fully functional product
24/5 technical support during trial
Get your free 30-day Trial Key instantly.
Thank you.
If you'd like to speak to our licensing team:

badge_greencheck_in_yellowcircle

The trial form was submitted
successfully.

Your trial key should be in the email.
If it is not, please contact
support@ironsoftware.com

Schedule a call
Have a question? Get in touch with our development team.
No credit card or account creation required
15 1000 1
Now that you’ve downloaded IronBarcode
Want to deploy IronBarcode to a live project for FREE?
Not ready to buy?

Want to deploy IronBarcode to a live project for FREE?

What’s included?
Test in production without watermarks
15 days fully functional product
24/5 technical support during trial
Get your free 15-day Trial Key instantly.
Thank you.
If you'd like to speak to our licensing team:

badge_greencheck_in_yellowcircle

The trial form was submitted
successfully.

Your trial key should be in the email.
If it is not, please contact
support@ironsoftware.com

Schedule a call
Have a question? Get in touch with our development team.
No credit card or account creation required
15 1000 1
Your Trial License Key has been emailed to you.
Not ready to buy?
Thank you.
View your license options:
Thank you.
If you'd like to speak to our licensing team:
View Licensing
Schedule a call
Have a question? Get in touch with our development team.
Have a question? Get in touch with our development team.
15 1000 1
Want to deploy IronBarcode to a live project for FREE?
Not ready to buy?

Want to deploy IronBarcode to a live project for FREE?

What’s included?
Test in production without watermarks
30 days fully functional product
24/5 technical support during trial
Get your free 30-day Trial Key instantly.
Thank you.
If you'd like to speak to our licensing team:

badge_greencheck_in_yellowcircle

The trial form was submitted
successfully.

Your trial key should be in the email.
If it is not, please contact
support@ironsoftware.com

Schedule a call
Have a question? Get in touch with our development team.
No credit card or account creation required
15 1000 1
Want to deploy IronBarcode to a live project for FREE?
Not ready to buy?

Want to deploy IronBarcode to a live project for FREE?

What’s included?
Test in production without watermarks
15 days fully functional product
24/5 technical support during trial
Get your free 15-day Trial Key instantly.
Thank you.
If you'd like to speak to our licensing team:

badge_greencheck_in_yellowcircle

The trial form was submitted
successfully.

Your trial key should be in the email.
If it is not, please contact
support@ironsoftware.com

Schedule a call
Have a question? Get in touch with our development team.
No credit card or account creation required
15 1000 1
Your Trial License Key has been emailed to you.
Not ready to buy?
Download IronBarcode free to apply
your Trial Licenses Key
Thank you.
If you'd like to speak to our licensing team:
Install with NuGet View Licenses
Schedule a call
Licenses from $749. Have a question? Get in touch.
Have a question? Get in touch with our development team.
15 1000 1
Your Trial License Key has been emailed to you.
Not ready to buy?
Download IronBarcode free to apply
your Trial Licenses Key
Thank you.
If you'd like to speak to our licensing team:
Install with NuGet View Licenses
Schedule a call
Licenses from $749. Have a question? Get in touch.
Have a question? Get in touch with our development team.
ironbarcode_for_dotnet

Get started for FREE

No credit card required

Test in a live environment

Test in production without watermarks.
Works wherever you need it to.

bullet_test

Fully-functional product

Get 30 days of fully functional product.
Have it up and running in minutes.

bullet_calendar

24/5 technical support

Full access to our support engineering team during your product trial

bullet_support
ironbarcode_for_dotnet

Get your free 30-day Trial Key instantly.

bullet_checkedNo credit card or account creation required

badge_greencheck_in_yellowcircle

The trial form was submitted
successfully.

Your trial key should be in the email.
If it is not, please contact
support@ironsoftware.com

Trusted by Over 2 Million Engineers Worldwide

  • aetna_logo
  • wwf_logo
  • nasa_logo
  • usda_logo
  • 3m_logo
  • tesla_logo
ironbarcode_for_dotnet

Get started for FREE

No credit card required

Test in a live environment

Test in production without watermarks.
Works wherever you need it to.

bullet_test

Fully-functional product

Get 30 days of fully functional product.
Have it up and running in minutes.

bullet_calendar

24/5 technical support

Full access to our support engineering team during your product trial

bullet_support
ironbarcode_for_dotnet

Get your free 30-day Trial Key instantly.

bullet_checkedNo credit card or account creation required

badge_greencheck_in_yellowcircle

The trial form was submitted
successfully.

Your trial key should be in the email.
If it is not, please contact
support@ironsoftware.com

Trusted by Over 2 Million Engineers Worldwide

  • aetna_logo
  • wwf_logo
  • nasa_logo
  • usda_logo
  • 3m_logo
  • tesla_logo
ironbarcode_for_dotnet

Get started for FREE

No credit card required

Test in a live environment

Test in production without watermarks.
Works wherever you need it to.

bullet_test

Fully-functional product

Get 30 days of fully functional product.
Have it up and running in minutes.

bullet_calendar

24/5 technical support

Full access to our support engineering team during your product trial

bullet_support
ironbarcode_for_dotnet

Get your free 30-day Trial Key instantly.

Install with NuGet
View Licensing

Licenses from $749. Have a question? Get in touch.

Trusted by Over 2 Million Engineers Worldwide

  • aetna_logo
  • wwf_logo
  • nasa_logo
  • usda_logo
  • 3m_logo
  • tesla_logo
Start for Free Free NuGet Download

Fully-functional product, get the key instantly

PM > Install-Package BarCode

IronBarcode for .NET

When you need to read, write, and style Barcodes, fast.

Search

CtrlK

Documentation

  • Code Examples
  • API Reference
  • How-Tos
  • Features
  • Credits
  • Blog
  • Product Brochure

Tutorials

  • Get Started
  • C# Barcode Image Generator
  • C# QR Code Generator
  • Reading Barcodes in C#

Licensing

  • Buy a License
  • Support Extensions
  • Resellers
  • License Keys
  • EULA

Try IronBarcode Free

  • Download on NuGet
  • Download DLL

  • Start Free Trial

When you need your PDF to look like HTML, fast.

Tesseract 5 OCR in the languages you need, We support 127+.

The Excel API you need, without the Office Interop hassle.

When you need to zip and unzip archives, fast.

When you need to read, write, and style QR codes, fast.

When you need to read, write, and style Barcodes, fast.

The power you need to scrape & output clean, structured data.

The complete .NET Suite for your office.

  • IRONSUITE
  • |
  • IRONPDF
  • IRONOCR
  • IRONXL
  • IRONZIP
  • IRONQR
  • IRONBARCODE
  • IRONWEBSCRAPER
IronSoftware
205 N. Michigan Ave. Chicago, IL 60611 USA +1 (312) 500-3060
  • About Us
  • News
  • Customers
  • Careers
  • Contact Us
  • Join Iron Slack

Supporting Teamseas

Copyright © Iron Software LLC 2013-2023

  • Terms
  • Privacy

Thank you!

Your license key has been delivered to the email provided. Contact us

24-Hour Upgrade Offer:

Save 50% on a
Professional Upgrade

Go Professional to cover 10 developers
and unlimited projects.

hours

:

minutes

:

seconds

Upgrade to Professional

Upgrade

Professional

$600 USD

$299 USD


  • 10 developers
  • 10 locations
  • 10 projects
TODAY ONLY
Iron Suite

5 .NET Products for the Price of 2

IronPDF IronOCR IronXL IronBarcode IronWebscraper

Total Suite Value:

$7,192 USD

Upgrade price

TODAY
ONLY

$499 USD

After 24 Hrs

$1,098 USD