Table of contents

DecodedBarcodesResult Class

The DecodedBarcodesResult class represents the result of a barcode reading process. It provides access to information about the decoded barcodes, the source image, and any errors that occurred during the barcode reading process.

Definition

Namespace: Dynamsoft.DBR

Assembly: Dynamsoft.BarcodeReader.dll

public class DecodedBarcodesResult

Methods

Method Description
GetErrorCode Gets the error code of the barcode reading result, if an error occurred.
GetErrorString Gets the error message of the barcode reading result, if an error occurred.
GetItems Gets all the barcode result items.
GetOriginalImageHashId Gets the hash ID of the source image.
GetOriginalImageTag Gets the tag of the source image.
GetRotationTransformMatrix Gets the 3x3 rotation transformation matrix of the original image relative to the rotated image.

GetErrorCode

Gets the error code of the barcode reading result, if an error occurred.

int GetErrorCode()

Return Value

Returns the error code of the barcode reading result, or 0 if no error occurred.

See Also

EnumErrorCode

GetErrorString

Gets the error message of the barcode reading result, if an error occurred.

string GetErrorString()

Return Value

Returns a string containing the error message of the barcode reading result, or an empty string if no error occurred.

GetItems

Gets all the decoded barcode result items.

BarcodeResultItem[] GetItems()

Return Value

Returns a BarcodeResultItem array.

See Also

BarcodeResultItem

GetOriginalImageHashId

Gets the hash ID of the source image.

string GetOriginalImageHashId()

Return Value

Returns a string containing the hash ID of the source image.

GetOriginalImageTag

Gets the tag of the source image.

ImageTag GetOriginalImageTag()

Return Value

Returns an ImageTag object representing the tag of the source image.

See Also

ImageTag

GetRotationTransformMatrix

Gets the 3x3 rotation transformation matrix of the original image relative to the rotated image.

double[] GetRotationTransformMatrix()

Return Value

Returns a double array of length 9 which represents a 3x3 rotation matrix.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: