Class BarcodeResult
Results from reading a barcode using IronBarCode
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: IronBarCode
Assembly: IronBarCode.dll
Syntax
public class BarcodeResult
Constructors
BarcodeResult()
Declaration
public BarcodeResult()
Properties
BarcodeImage
An image of the scanned barcode image as a System.Drawing.Bitmap.
This System.Drawing.Bitmap will be disposed when the BarcodeResult finalizes. If you wish to keep a permanent copy of the BarcodeImage use the (Bitmap)BarcodeResult.BarcodeImage.Clone()
method.
Declaration
public Bitmap BarcodeImage { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Bitmap | An image of the barcode which was read. |
BarcodeType
The BarcodeEncoding (barcode type) which was detected
Declaration
public BarcodeEncoding BarcodeType { get; }
Property Value
Type | Description |
---|---|
BarcodeEncoding |
BinaryValue
The binary value of the barcode as a byte array.
Declaration
public byte[] BinaryValue { get; }
Property Value
Type | Description |
---|---|
System.Byte[] |
Text
The value of the barcode as a string. Synonym for BarcodeResult.Value
Declaration
public string Text { get; }
Property Value
Type | Description |
---|---|
System.String |
Value
The value of the barcode as a string.
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Finalize()
Finalizes an instance of the BarcodeResult class.
Declaration
protected void Finalize()
ToString()
Returns a System.String that represents the value of the barcode as a string;
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents this instance. |
Overrides
System.Object.ToString()