Table of contents
Swift
Objective-C

LocalizedBarcodesUnit Class

The LocalizedBarcodesUnit class represents a unit that contains localized barcodes unit. It inherits from the IntermediateResultUnit class.

Definition

Namespace: Dynamsoft.DBR.intermediate_results

Inheritance: IntermediateResultUnit -> LocalizedBarcodesUnit

class LocalizedBarcodesUnit : IntermediateResultUnit, IEnumerable<LocalizedBarcodeElement>

Methods

Method Description
AddLocalizedBarcode Adds a localized barcode.
GetCount Gets the number of localized barcodes in the unit.
GetLocalizedBarcode Gets a specific localized barcode element.
GetLocalizedBarcodes Gets all localized barcode elements.
RemoveAllLocalizedBarcodes Removes all the localized barcodes.
RemoveLocalizedBarcode Removes a localized barcode at the specified index.
SetLocalizedBarcode Sets a localized barcode at the specified index.

Inherited Methods

Checkout inherited methods from IntermediateResultUnit for more details.

AddLocalizedBarcode

Adds a localized barcode.

int AddLocalizedBarcode(LocalizedBarcodeElement localizedBarcode, double[] matrixToOriginalImage = null)

Parameters

localizedBarcode The localized barcode element to be added.

matrixToOriginalImage The matrix to original image.

Return value

Returns 0 if successful, otherwise returns a negative value.

See Also

LocalizedBarcodeElement

GetCount

Gets the number of localized barcodes in the unit.

int GetCount()

Return value

Returns the number of localized barcodes in the unit.

GetLocalizedBarcode

Gets a specific localized barcode element.

LocalizedBarcodeElement GetLocalizedBarcode(int index)

Parameters

[in] index The index of the localized barcode element to retrieve.

Return value

Returns the localized barcode element at the specified index.

See Also

LocalizedBarcodeElement

GetLocalizedBarcodes

Gets all localized barcode elements.

LocalizedBarcodeElement[] GetLocalizedBarcodes()

Return value

Returns all the localized barcode elements.

See Also

LocalizedBarcodeElement

RemoveAllLocalizedBarcodes

Removes all the localized barcodes.

void RemoveAllLocalizedBarcodes()

RemoveLocalizedBarcode

Removes a localized barcode at the specified index.

int RemoveLocalizedBarcode(int index)

Parameters

index The index of the localized barcode.

Return value

Returns 0 if successful, otherwise returns a negative value.

SetLocalizedBarcode

Sets a localized barcode at the specified index.

int SetLocalizedBarcode(int index, LocalizedBarcodeElement localizedBarcode, double[] matrixToOriginalImage = null)

Parameters

index The index of the localized barcode.

localizedBarcode The localized barcode element to be set.

matrixToOriginalImage The matrix to original image.

Return value

Returns 0 if successful, otherwise returns a negative value.

See Also

LocalizedBarcodeElement

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: