Click or drag to resize

IronBarCode Namespace

IronBarCode is a .NET library allowing developers to read and generate barcodes. IronBarCode supports a wide range of 1 and 2 dimensional barcodes including decorated (branded) QR codes.

https://ironsoftware.com/csharp/barcode/

Classes
  ClassDescription
Public classBarcodeReader
A versatile static class for reading many popular barcode formats from Images and PDFs

IronBarCode.BarcodeReader supports barcode reading from Bitmaps, Image Objects, Image Files, Image Streams, MultiFrame TiIf Images and also PDFs.

Features: Crop-area support, Image filters and preprocessing for improved accuracy including and the ability to automatically un-rotate, deskew and clean barcode image input.

Public classBarcodeResult
Results from reading a barcode using IronBarCode
Public classBarcodeWriter
A static class allowing for barcode images of many types to be generated dynamically.

Generated Barcodes can be exported as Images, Bitmaps, Files, PDFs and Streams.

Public classGeneratedBarcode
A barcode generated by IronBarCode.

In addition to exporting the barcode as a graphic, we may also resize it, recolor it and annotate it with this class using fluent notation.

GeneratedBarcodes may be exported as Images, Objects or PDF files. They may also be exported as HTML for use on the web.

Public classIronBarCodeContentTooLongEncodingException
A specific Exception raised when the Value of a barcode is too long for the developer specified BarcodeEncoding
Public classIronBarCodeEncodingException
A generic Exception raised during the encoding of a barcode by IronBarCode
Public classIronBarCodeException
A generic Exception raised by IronBarCode
Public classIronBarCodeFileException
A generic Exception raised by IronBarCode when a file can not be read or written
Public classIronBarCodeFormatOnlyAcceptsNumericValuesEncodingException
A specific Exception raised when the Value of a barcode contains non numeric characters for a BarcodeEncoding which only accepts digits.
Public classIronBarCodeUnsupportedRendererEncodingException
A specific Exception raised when IronBarCode does not yet support the developer specified BarcodeEncoding format. We suggest using the BarcodeWriterEncoding Enum to specify your barcode encoding format to avoid this Exception in future.
Public classLicense
Allows Iron BarCode to have commercial license keys applied globally within an application.
Public classPagedBarcodeResult
Results from reading a barcode from a multi-page document using IronBarCode
Public classQRCodeWriter
A class allowing for advanced control on the generation of QR type barcodes.

QRCodeWriter gives the developer access to set QR code error correction levels, and to add logo images to QR codes.

Generated Barcodes can be exported as Images, Bitmaps, Files and Streams.

Enumerations
  EnumerationDescription
Public enumerationBarcodeEncoding
Barcode Encoding Types.

Setting a BarcodeEncoding when reading Barcodes improves performance by only looking for expected barcode types.

Setting a BarcodeEncoding when rendering Barcodes chooses the type and design of barcode to be generated. For barcode creation please also see the BarcodeWriterEncoding Enum which omits barcode formats which are not writable with IronBarCode.

Public enumerationBarcodeReaderBarcodeImageCorrection
An enum defining strategies for cleaning pixels in noisy input documents such as scans and photographs. In essence BarcodeImageCorrection helps separate dark barcode pixels from background patterns in images automatically.

Aggressive BarcodeImageCorrection is not always better. BarcodeImageCorrection will take longer to perform (use more CPU cycles). We recommend experimenting with diIferent levels of BarcodeImageCorrection starting with the lowest settings first and gradually working up from there.

Public enumerationBarcodeReaderBarcodeRotationCorrection
An enum defining strategies for reading barcodes that are rotated or skewed with perspective.

CPU intensive. We recommend experimenting with diIferent levels of BarcodeRotationCorrection starting with the lowest settings first and gradually working up from there.

Public enumerationBarcodeWriterEncoding
Chooses the style of barcode to render as an image using IronBarCode. This enum is related to BarcodeEncoding with the exception that only encodable barcode formats are mentioned. As this Enum is not of the Flags type, only one BarcodeWriterEncoding can be used to generate a barcode, which is logical.
Public enumerationQRCodeWriterQrErrorCorrectionLevel
The ErrorCorrection or fault tolerance level of a QR code. A higher QRCodeWriterQrErrorCorrectionLevel create more complex QR codes, which are less prone to reading errors. They may also be readable if damaged or partially obscured.

Please also see http://www.qrcode.com/en/about/error_correction.html