Dev Center
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.

Inherited Methods

The following methods are inherited from class CCapturedResultItem.

Method Description
GetType Gets the type of the captured result item.
GetReferencedItem 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.

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.

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 10.x
    • Version 10.2.0
    • Version 10.0.20
    • Version 10.0.10
    • Version 10.0.0
  • Version 9.x
    • Version 9.6.40
    • Version 9.6.30
    • Version 9.6.20
    • Version 9.6.10
    • 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 +