Table of contents

CBarcodeResultItem Class

The CBarcodeResultItem class represents a barcode result item decoded by barcode reader engine. It is derived from CCapturedResultItem.

Definition

Namespace: dynamsoft::dbr

Assembly: DynamsoftBarcodeReader

Inheritance: CCapturedResultItem -> CBarcodeResultItem

class CBarcodeResultItem : public CCapturedResultItem

Methods

Method Description
GetFormat Gets the format of the decoded barcode result.
GetFormatString Gets the format string of the decoded barcode result.
GetText Gets the text result of the decoded barcode.
GetBytes Gets the text bytes of the decoded barcode result.
GetBytesLength Gets the text length of the decoded barcode result.
GetLocation Gets the location of the decoded barcode in a quadrilateral.
GetConfidence Gets the confidence of the decoded barcode result.
GetAngle Gets the angle of the decoded barcode result.
GetModuleSize Gets the module size of the decoded barcode result.
GetDetails Gets the details of the decoded barcode result.
IsDPM Gets whether the decoded barcode is a DPM code.
IsMirrored Gets whether the decoded barcode is a mirrored barcode.
SetLocation Set the location of the barcode item.

Inherited Methods

The following methods are inherited from class CCapturedResultItem.

Method Description
GetType Gets the type of the captured result item.
GetReferenceItem Gets a pointer to the referenced item in the captured result.
GetTargetROIDefName Gets the name of the TargetROIDef which generate current captured result item.
GetTaskName Gets the name of the task which generate current captured result item.
Retain Increases the reference count of the CCapturedResultItem object.
Release Decreases the reference count of the CCapturedResultItem object.
Clone Clone the CCapturedResultItem object.

GetFormat

It is used to get the format of the decoded barcode result.

virtual BarcodeFormat GetFormat() const = 0;

Return value

Returns the format of the decoded barcode result.

See Also

Enumeration BarcodeFormat

GetFormatString

It is used to get the format string of the decoded barcode result.

virtual const char* GetFormatString() const = 0;

Return value

Returns the format string of the decoded barcode result.

GetText

It is used to get the text result of the decoded barcode.

virtual const char* GetText() const = 0;

Return value

Returns the text result of the decoded barcode.

GetBytes

It is used to get the text bytes of the decoded barcode result.

virtual unsigned char* GetBytes() const = 0;

Return value

Returns the text bytes of the decoded barcode result.

GetBytesLength

It is used to get the text bytes length of the decoded barcode result.

virtual int GetBytesLength() const = 0;

Return value

Returns the text bytes length of the decoded barcode result.

GetLocation

It is used to get the location of the decoded barcode in a quadrilateral.

virtual CQuadrilateral GetLocation() const = 0;

Return value

Returns the location of the decoded barcode in a quadrilateral.

See Also

CQuadrilateral

GetConfidence

It is used to get the confidence of the decoded barcode result.

virtual int GetConfidence() const = 0;

Return value

Returns the confidence of the decoded barcode result.

GetAngle

It is used to get the angle of the decoded barcode result.

virtual int GetAngle() const = 0;

Return value

Returns the angle of the decoded barcode result.

GetModuleSize

It is used to get the module size of the decoded barcode result.

virtual int GetModuleSize() const = 0;

Return value

Returns the module size of the decoded barcode result.

GetDetails

It is used to get the details of the decoded barcode result.

virtual const CBarcodeDetails* GetDetails() const = 0;	

Return value

Returns the details of the decoded barcode result.

See Also

IsDPM

It is used to get whether the decoded barcode is a DPM code.

virtual bool IsDPM() const = 0;

Return value

Returns whether the decoded barcode is a DPM code.

IsMirrored

It is used to get whether the decoded barcode is mirrored.

virtual bool IsMirrored() const = 0;

Return value

Returns whether the decoded barcode is mirrored.

SetLocation

Set the location of the barcode item.

virtual int SetLocation(const CQuadrilateral& location) = 0;

Parameters

[in] location The location of the barcode item.

Return value

Returns an error code. Zero indicates success.

See Also

CQuadrilateral

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: