Click or drag to resize
Barcode Class
A recognized or localized barcode.
Inheritance Hierarchy

Namespace: Scandit.Recognition
Assembly: Scandit.Recognition (in Scandit.Recognition.dll) Version: 5.6.0.2 (5.6.0.2)
Syntax
public class Barcode

The Barcode type exposes the following members.

Properties
  NameDescription
Public propertyData
The data encoded in the barcode as an UTF-8 string.
Public propertySymbologyString
The symbology of the decoded barcode as string
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a summary of this barcode as string, useful for debugging purposes.
(Overrides ObjectToString.)
Top
Fields
  NameDescription
Public fieldCompositeFlag
Indicates whether the barcode is part of a composite pair
Public fieldDataEncoding
Character encoding of the raw data in ranges.
Public fieldIsColorInverted
Gets the color of the barcode. This flag is set to true if the barcode is white on black background. False indicates that the barcode is black on a white background or the code has only been localized but not recognized.
Public fieldIsGs1DataCarrier
True if the code is a GS1 data carrier, false if not.
Public fieldIsRecognized
True when this code represents a recognized barcode/2d code, false if the code has been localized but not recognized.
Public fieldLocation
The location of the barcode/2d code in the image defined by four corners.
Public fieldRawData
The data encoded in the barcode as an array of bytes. Depending on the type of barcode/2d code, the data may be binary, or a simple ASCII/UTF-8 string. If you are only expecting utf-8 data, use Data instead.
Public fieldSymbology
The symbology of the barcode. For a barcode which has been localized but not recognized, the symbology is set to ScSymbology.Unknown.
Public fieldUniqueId
Unique identifier of this barcode.
Top
See Also