Search Results for

    Show / Hide Table of Contents

    Class BarcodeResult

    Result from reading a barcode using IronBarCode

    Inheritance
    System.Object
    BarcodeResult
    Namespace: IronBarCode
    Assembly: IronBarCode.dll
    Syntax
    public class BarcodeResult : Object

    Constructors

    BarcodeResult()

    Declaration
    public BarcodeResult()

    Properties

    BarcodeImage

    An image of the scanned barcode image as a IronSoftware.Drawing.AnyBitmap.

    This IronSoftware.Drawing.AnyBitmap 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 AnyBitmap BarcodeImage { get; }
    Property Value
    Type Description
    IronSoftware.Drawing.AnyBitmap

    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[]

    Height

    A Barcode Height

    Declaration
    public Nullable<int> Height { get; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    PageNumber

    The page number of the PDF or Image on which the barcode was discovered. [1 Based e.g. the first page is one not zero]

    Declaration
    public int PageNumber { get; }
    Property Value
    Type Description
    System.Int32

    PageOrientation

    A Page orientation of input image.

    Declaration
    public PageOrientation PageOrientation { get; }
    Property Value
    Type Description
    PageOrientation

    Rotation

    Orientation of the barcode expressed as a multiple of 90 degrees. Null is orientation not found.

    Declaration
    public Nullable<int> Rotation { get; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    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

    Width

    A Barcode Width

    Declaration
    public Nullable<int> Width { get; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    X1

    A Barcode Location co-ordinate

    Declaration
    public Nullable<int> X1 { get; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    X2

    A Barcode Location co-ordinate

    Declaration
    public Nullable<int> X2 { get; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    Y1

    A Barcode Location co-ordinate

    Declaration
    public Nullable<int> Y1 { get; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    Y2

    A Barcode Location co-ordinate

    Declaration
    public Nullable<int> Y2 { get; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    Methods

    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.

    ☀
    ☾
    Downloads
    • Download with Nuget
    • Free 30-Day Trial Key
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronBarcode to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronBarcode free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.