STRICH Barcode Scanning SDK API Reference
    Preparing search index...

    Type Alias SymbologySpec

    SymbologySpec:
        | {
            checksumMode?: number;
            maxLen?: number;
            minLen?: number;
            name: | "ean13"
            | "ean8"
            | "upca"
            | "upce"
            | "databar"
            | "databar-exp"
            | "code39"
            | "code93"
            | "code128"
            | "i25"
            | "codabar";
            qz?: number;
        }
        | { curved: boolean; name: "qr"; roundedFPs: boolean }
        | { name: "aztec" | "datamatrix" | "pdf417" | "microqr" }

    For variable-length symbologies, min/max length can be specified in addition to the symbology.

    Type Declaration

    • {
          checksumMode?: number;
          maxLen?: number;
          minLen?: number;
          name:
              | "ean13"
              | "ean8"
              | "upca"
              | "upce"
              | "databar"
              | "databar-exp"
              | "code39"
              | "code93"
              | "code128"
              | "i25"
              | "codabar";
          qz?: number;
      }
      • OptionalchecksumMode?: number

        The mode to use for symbologies which support an optional checksum mechanism.

        Setting the mode to 0 or leaving it unset disables processing of the checksum. 1 will expect the check digit to be present, validate the barcode data against it, and strip it from the transmitted data. 2 will validate and also transmit the check digit along with the data portion.

        Setting this option to 1 or 2 requires that all barcodes of this symbology include a check digit. Barcodes that lack the check digit will not be readable anymore.

        0
        
      • OptionalmaxLen?: number

        The maximum length of the barcode, only has an effect for variable-length symbologies.

      • OptionalminLen?: number

        The minimum length of the barcode, only has an effect for variable-length symbologies.

      • name:
            | "ean13"
            | "ean8"
            | "upca"
            | "upce"
            | "databar"
            | "databar-exp"
            | "code39"
            | "code93"
            | "code128"
            | "i25"
            | "codabar"

        The name of the 1D barcode symbology.

      • Optionalqz?: number

        The minimum length of the leading and trailing quiet zone for this symbology, expressed as multiples of X.

        There is rarely a need to change the default.

    • { curved: boolean; name: "qr"; roundedFPs: boolean }
      • curved: boolean

        Enable detection of QR Codes on curved/bent surfaces.

        More advanced algorithms will be used to read QR Codes from curved or bent surfaces. This option incurs extra processing time and only makes sense if your QR Codes are printed on curved surfaces such as bottles, barrels, and other cylindrical or spherical items.

        false
        
      • name: "qr"

        The name of the QR Code symbology

      • roundedFPs: boolean

        Enable detection of QR Codes with rounded finder patterns.

        The finder patterns of a QR Code are nominally square with straight edges. The straight edges are useful in optimizing the detection of finder pattern triplets and mapping of the QR Code. The ISO specification mandates square finder patterns, but rounded finder patterns are used in practice, especially outside of industrial use cases.

        false
        
    • { name: "aztec" | "datamatrix" | "pdf417" | "microqr" }
      • name: "aztec" | "datamatrix" | "pdf417" | "microqr"

        The name of the 2D symbology