GraffitiBarcodeReader

Enumerations #

Name Values
This class exposes no enumerations.

Constants #

Name Type Value
This class exposes no constants.

Events #

Definition Description
DataAvailable( Result as String ) This event signals that a barcode has successfully been read, and the data from that barcode is contained in the Result variable.
DevicesAvailable() This event fires when the Devices() property has been populated.
Error( errorReason as String ) This event fires when the decoding library signals an error in reading.
PermissionDenied() This event signifies that the user has elected to disallow camera access on their device.

Methods #

Definition Description
Reset() Resets (or stops) scanning.
Scan( Device as Pair ) Starts scanning on the provided device.

Properties #

Name Type Default Value Description
Devices() Pair Array The image capture devices available to the session.

Notes #

Supported Formats #

  • AZTEC
  • CODABAR
  • CODE39
  • CODE93
  • CODE128
  • EAN8
  • EAN13
  • ITF
  • PDF417
  • QR
  • RSS14
  • UPCA
  • UPCE

For Testing purposes, this site contains a number of different barcode type examples.

Security #

Most modern browsers, for security reasons, will not allow access to the computer’s camera unless the page is loaded over a secure (HTTPS) connection. This means you must deploy with a valid certificate or text locally over HTTPS with a self-signed certificate.