Class QrImageInput
Represents an image-based QR input implementing the IQrInput interface. Example:
var frame = new QrImageInput(new AnyBitmap("../assets/frame01.jpg"));
Inheritance
System.Object
QrImageInput
Namespace: IronQr
Assembly: IronQr.dll
Syntax
public class QrImageInput : Object, IQrInput, IDisposable
Constructors
QrImageInput(AnyBitmap, QrScanMode)
Initializes a new instance of the QrImageInput class.
Declaration
public QrImageInput(AnyBitmap image, QrScanMode qrScanMode)
Parameters
| Type | Name | Description |
|---|---|---|
| IronSoftware.Drawing.AnyBitmap | image | The image to be used for QR code operations. |
| QrScanMode | qrScanMode | The QrScanMode to be used for QR code operations. Default is Auto. |
Properties
Image
Gets or sets the image to be used for QR code operations.
Declaration
public AnyBitmap Image { get; set; }
Property Value
| Type | Description |
|---|---|
| IronSoftware.Drawing.AnyBitmap |
QrScanMode
Define how IronQR scans and detects QR Codes in an image to read. By default, a ML model will scan the image, and a basic second scan will be run if the ML model finds none.
Declaration
public QrScanMode QrScanMode { get; set; }
Property Value
| Type | Description |
|---|---|
| QrScanMode |
Methods
Dispose()
Releases all resources used by the image.
Declaration
public void Dispose()
Implements
System.IDisposable