VisioForge (c) 2025

Search Results for

    Class BarcodeEventArgs

    Barcode event.

    Inheritance
    object
    EventArgs
    BarcodeEventArgs
    Inherited Members
    EventArgs.Empty
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: VisioForge.Core.Types.Events
    Assembly: VisioForge.Core.dll
    Syntax
    public class BarcodeEventArgs : EventArgs

    Constructors

    BarcodeEventArgs(BarcodeType, string, IDictionary<BarcodeResultMetadataType, object>, TimeSpan, byte[], BarcodeResultPoint[], ref bool)

    Initializes a new instance of the BarcodeEventArgs class.

    Declaration
    public BarcodeEventArgs(BarcodeType barcodeType, string value, IDictionary<BarcodeResultMetadataType, object> metadata, TimeSpan timeStamp, byte[] rawBytes, BarcodeResultPoint[] points, ref bool detectorEnabled)
    Parameters
    Type Name Description
    BarcodeType barcodeType

    Barcode type.

    string value

    Barcode value.

    IDictionary<BarcodeResultMetadataType, object> metadata

    Optional metadata about what was detected about the barcode, like orientation.

    TimeSpan timeStamp

    Timestamp.

    byte[] rawBytes

    RAW bytes encoded by the barcode, if applicable, otherwise null.

    BarcodeResultPoint[] points

    Points related to the barcode in the image. These are typically points identifying finder patterns or the corners of the barcode. The exact meaning is specific to the type of barcode that was decoded.

    bool detectorEnabled

    Use to disable detector if required.

    Remarks

    Use Barcode_Enabled property to enable again.

    Properties

    BarcodeType

    Gets an barcode type.

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

    DetectorEnabled

    Gets or sets a value indicating whether detector enabled.

    Declaration
    public bool DetectorEnabled { get; set; }
    Property Value
    Type Description
    bool

    Metadata

    Gets optional metadata about what was detected about the barcode, like orientation.

    Declaration
    public IDictionary<BarcodeResultMetadataType, object> Metadata { get; }
    Property Value
    Type Description
    IDictionary<BarcodeResultMetadataType, object>

    Points

    Gets points related to the barcode in the image. These are typically points identifying finder patterns or the corners of the barcode. The exact meaning is specific to the type of barcode that was decoded.

    Declaration
    public BarcodeResultPoint[] Points { get; }
    Property Value
    Type Description
    BarcodeResultPoint[]

    RawBytes

    Gets RAW bytes encoded by the barcode, if applicable, otherwise null.

    Declaration
    public byte[] RawBytes { get; }
    Property Value
    Type Description
    byte[]

    Timestamp

    Gets the timestamp.

    Declaration
    public TimeSpan Timestamp { get; }
    Property Value
    Type Description
    TimeSpan

    Value

    Gets a barcode value.

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