Table of contents
Swift
Objective-C

DecodedBarcodesUnit Class

The DecodedBarcodesUnit class represents a unit that contains decoded barcode elements. It inherits from the IntermediateResultUnit class.

Definition

Namespace: Dynamsoft.DBR.intermediate_results

Inheritance: IntermediateResultUnit -> DecodedBarcodesUnit

class DecodedBarcodesUnit : IntermediateResultUnit, IEnumerable<DecodedBarcodeElement>

Methods

Method Description
GetCount Gets the number of decoded barcodes in the unit.
GetDecodedBarcode Gets the DecodedBarcodeElement object at the specified index.
GetDecodedBarcodes Gets all the DecodedBarcodeElement objects.
RemoveAllDecodedBarcodes Removes all the decoded barcodes in the unit.
SetDecodedBarcode Sets the decoded barcode.

Inherited Methods

Checkout inherited methods from IntermediateResultUnit for more details.

GetCount

Gets the number of decoded barcodes in the unit.

int GetCount()

Return value

Returns the number of decoded barcodes in the unit.

GetDecodedBarcode

Gets the DecodedBarcodeElement object at the specified index.

DecodedBarcodeElement GetDecodedBarcode(int index)

Parameter

[in] index The index of the desired DecodedBarcodeElement object.

Return value

Returns the DecodedBarcodeElement object at the specified index.

See Also

DecodedBarcodeElement

GetDecodedBarcodes

Gets all the DecodedBarcodeElement objects.

DecodedBarcodeElement[] GetDecodedBarcodes()

Return value

Returns all the DecodedBarcodeElement objects.

See Also

DecodedBarcodeElement

RemoveAllDecodedBarcodes

Removes all the decoded barcodes in the unit.

void RemoveAllDecodedBarcodes()

SetDecodedBarcode

Sets the decoded barcode.

int SetDecodedBarcode(DecodedBarcodeElement decodedBarcodeElement, double[] matrixToOriginalImage = null)

Parameters

decodedBarcodeElement The decoded barcode element.

matrixToOriginalImage The matrix to original image.

Return value

Returns 0 if successful, otherwise returns a negative value.

See Also

DecodedBarcodeElement

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: