Web Demos

BARCODE READER SDK DEMO

Explore the flexibe barcode reading settings to optimize for your specific usage scenario.

WEB TWAIN SDK DEMO

Try the most popular web scanner features: scan images, import local images and PDF files, edit, save to local, upload to database, and etc.

BARCODE READER JAVASCRIPT DEMO

Transform any camera-equipped devices into real-time, browser-based barcode and QR code scanners.

MRZ SCANNER WEB DEMO

Detects the machine-readable zone of a passport, scans the text, and parses into human-readable data.

APP STORE DEMOS

BARCODE READER SDK FOR IOS

BARCODE READER SDK FOR ANDROID

VIEW MORE DEMOS >
Dev Center
Table of contents

Thanks for downloading Dynamsoft Barcode Reader Package!

Your download will start shortly. If your download does not begin, click here to retry.

Result Enumeration

Enumeration Description
IMResultDataType Describes the intermediate result data type.
IntermediateResultSavingMode Describes the intermediate result saving mode.
IntermediateResultType Describes the intermediate result type.
ResultCoordinateType Describes the result coordinate type.
ResultType Describes the extended result type.
TextResultOrderMode Describes the text result order mode.

IMResultDataType

Describes the intermediate result data type.

Declarations

Language Declaration
C / C++ enum IMResultDataType

Members

Member Value Description
IMRDT_IMAGE 0x01 Specifies the ImageData.
IMRDT_CONTOUR 0x02 Specifies the Contour.
IMRDT_LINESEGMENT 0x04 Specifies the LineSegment.
IMRDT_LOCALIZATIONRESULT 0x08 Specifies the LocalizationResult.
IMRDT_REGIONOFINTEREST 0x10 Specifies the RegionOfInterest.
IMRDT_QUADRILATERAL 0x20 Specifies the Quadrilateral.
IMRDT_REFERENCE 0x40 Specifies the internal data format for using other Dynamsoft products, such as Dynamic Web TWAIN.

IntermediateResultSavingMode

Describes the intermediate result saving mode.

Declarations

Language Declaration
C / C++ enum IntermediateResultSavingMode

Members

Member Value Description Valid Argument(s)
IRSM_MEMORY 0x01 Saves intermediate results in memory with public data format. N/A
IRSM_FILESYSTEM 0x02 Saves intermediate results in file system. FolderPath
RecordsetSizeOfLatestImages
IRSM_BOTH 0x04 Saves intermediate results using IRSM_MEMORY and IRSM_FILESYSTEM. FolderPath
IRSM_REFERENCE_MEMORY 0x08 Saves intermediate results in memory with internal data format. FolderPath
RecordsetSizeOfLatestImages

IntermediateResultType

Describes the intermediate result type.

Declarations

Language Declaration
C / C++ enum IntermediateResultType

Members

Member Value Description
IRT_NO_RESULT 0x00 No intermediate result
IRT_ORIGINAL_IMAGE 0x01 Original image
IRT_COLOUR_CLUSTERED_IMAGE 0x02 Colour clustered image (not supported yet)
IRT_COLOUR_CONVERTED_GRAYSCALE_IMAGE 0x04 Colour image converted to grayscale
IRT_TRANSFORMED_GRAYSCALE_IMAGE 0x08 Transformed grayscale image
IRT_PREDETECTED_REGION 0x10 Predetected region
IRT_PREPROCESSED_IMAGE 0x20 Preprocessed image
IRT_BINARIZED_IMAGE 0x40 Binarized image
IRT_TEXT_ZONE 0x80 Text zone
IRT_CONTOUR 0x100 Contour
IRT_LINE_SEGMENT 0x200 Line segment
IRT_FORM 0x400 Form (not supported yet)
IRT_SEGMENTATION_BLOCK 0x800 Segmentation block (not supported yet)
IRT_TYPED_BARCODE_ZONE 0x1000 Typed barcode zone
IRT_PREDETECTED_QUADRILATERAL 0x2000 Predetected quadrilateral

ResultCoordinateType

Describes the result coordinate type.

Declarations

Language Declaration
C / C++ enum ResultCoordinateType

Members

Member Value Description
RCT_PIXEL 0x01 Returns the coordinate in pixel value.
RCT_PERCENTAGE 0x02 Returns the coordinate as a percentage.

ResultType

Describes the extended result type.

Declarations

Language Declaration
C / C++ enum ResultType

Members

Member Value Description  
RT_STANDARD_TEXT standardText 0 Specifies the standard text. This means the barcode value.
RT_RAW_TEXT rawText 1 Specifies the raw text. This means the text that includes start/stop characters, check digits, etc.
RT_CANDIDATE_TEXT candidateText 2 Specifies all the candidate text. This means all the standard text results decoded from the barcode.
RT_PARTIAL_TEXT partialText 3 Specifies the partial text. This means part of the text result decoded from the barcode.

TextResultOrderMode

Describes the text result order mode.

Declarations

Language Declaration
C / C++ enum TextResultOrderMode

Members

Member Value Description
TROM_SKIP 0x00 Skips the result ordering operation.
TROM_CONFIDENCE 0x01 Returns the text results in descending order by confidence.
TROM_POSITION 0x02 Returns the text results in position order, from top to bottom, then left to right.
TROM_FORMAT 0x04 Returns the text results in alphabetical and numerical order by barcode format string.

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 9.x
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.0
    • Version 9.0.0
  • Version 8.x
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.0
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
  • Version 7.x
    • Version 7.6.0
    • Version 7.5.0
Change +
© 2003–2023 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support