ZXing.DecodeHintType Unit

*************************************************************************** Delphi Sample Projects Copyright 1995-2024 Patrick Prémartin under AGPL 3.0 license. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. *************************************************************************** Set of projects demonstrating the features of the Delphi development environment, its libraries and its programming language. Some of the projects have been presented at conferences, on training courses or online coding sessions. The programs are up to date with the Community Edition and the commercial version of Delphi or RAD Studio. *************************************************************************** Author(s) : Patrick PREMARTIN Site : https://samples.developpeur-pascal.fr Project site : https://github.com/DeveloppeurPascal/Delphi-samples *************************************************************************** File last update : 2025-02-08T19:46:48.598+01:00 Signature : 431e828f9415e6ede9234412c04758e07e122154 ***************************************************************************

Package: QRCodeReader_FMX
 NameDescription
ALLOWED_EAN_EXTENSIONS

Allowed extension lengths for EAN or UPC barcodes. Other formats will ignore this. Maps to an of the allowed extension lengths, for example [2], [5], or [2, 5]. If it is optional to have an extension, do not set this hint. If this is set, and a UPC or EAN barcode is found but an extension is not, then no result will be returned at all.

ALLOWED_LENGTHS

Allowed lengths of encoded data -- reject anything else. Maps to an int[].

ASSUME_CODE_39_CHECK_DIGIT

Assume Code 39 codes employ a check digit. Maps to .

ASSUME_GS1

Assume the barcode is being processed as a GS1 barcode, and modify behavior as needed. For example this affects FNC1 handling for Code 128 (aka GS1-128). Doesn't matter what it maps to; use .

ASSUME_MSI_CHECK_DIGIT

Assume MSI codes employ a check digit. Maps to .

CHARACTER_SET

Specifies what character encoding to use when decoding, where applicable (type String)

ENABLE_INVERSION

Allowes for inversion of an image. Add the to invert the image

NEED_RESULT_POINT_CALLBACK

The caller needs to be notified via callback when a possible is found. Maps to a .

OTHER

Unspecified, application-specific hint. Maps to an unspecified .

POSSIBLE_FORMATS

Image is known to be of one of a few possible formats. Maps to a of s.

PURE_BARCODE

Image is a pure monochrome image of a barcode. Doesn't matter what it maps to; use = true.

RELAXED_CODE_39_EXTENDED_MODE

Don't fail if a Code39 is detected but can't be decoded in extended mode. Return the raw Code39 result instead. Maps to .

RETURN_CODABAR_START_END

If true, return the start and end digits in a Codabar barcode instead of stripping them. They are alpha, whereas the rest are numeric. By default, they are stripped, but this causes them to not be. Doesn't matter what it maps to; use .

TRY_HARDER

Spend more time to try to find a barcode; optimize for accuracy, not speed. Doesn't matter what it maps to; use = true.

TRY_HARDER_WITHOUT_ROTATION

1D readers supporting rotation with TRY_HARDER enabled. But BarcodeReader class can do auto-rotating for 1D and 2D codes. Enabling that option prevents 1D readers doing double rotation. BarcodeReader enables that option automatically if "global" auto-rotation is enabled. Maps to .

USE_CODE_39_EXTENDED_MODE

if Code39 could be detected try to use extended mode for full ASCII character set Maps to .

Top