Dev Center
Swift
Objective-C
Table of contents

DSExtendedBarcodeResult

DSExtendedBarcodeResult extends the DSDecodedBarcodeElement class and represents extended information about a barcode result.

Definition

Assembly: DynamsoftBarcodeReader.xcframework

  • Objective-C
  • Swift
  1. @interface DSExtendedBarcodeResult: DSDecodedBarcodeElement
    
  2. class ExtendedBarcodeResult: DecodedBarcodeElement
    

Methods

Methods Description
getExtendedBarcodeResultType Returns the type of the extended barcode result.
getDeformation Returns the deformation level of the barcode zone.
getClarity Returns the clarity score of the barcode zone.
getSamplingImage Returns the sampling image of the barcode zone.

The following methods are inherited from class DecodedBarcodeElement.

Methods Description
init Initialize a new DSDecodedBarcodeElement object.
getText Returns the text of the decoded barcode.
setText Set the text of the decoded barcode.
getBytes Returns the raw bytes of the decoded barcode.
setBytes Set the raw bytes of the decoded barcode.
getFormat Returns the format of the decoded barcode.
setFormat Set the format of the decoded barcode.
getConfidence Returns the confidence score of the decoded barcode.
setConfidence Set the confidence of the decoded barcode.
getFormatString Returns the format string of the decoded barcode.
getAngle Returns the orientation angle of the decoded barcode.
getModuleSize Returns the module size of the decoded barcode.
getDetails Returns the DSBarcodeDetails of the decoded barcode.
getExtendedBarcodeResults Returns the extended barcode results of the decoded barcode.
isDPM Specifies if the decoded barcode is a DPM code or not.
isMirrored Specifies if the decoded barcode is mirrored or not.

The following attributes are inherited from class DSRegionObjectElement.

Method Description
getLocation Gets the location of the region object, represented as a quadrilateral.
setLocation Sets the location of the region object.
getReferencedElement Gets the referenced element that supports the capturing of this element.
getRegionObjectElementType Gets the type of the region object element, defined by the enumeration DSRegionObjectElementType.

getExtendedBarcodeResultType

Returns the type of the extended barcode result as a DSExtendedBarcodeResultType enumeration item.

  • Objective-C
  • Swift
  1. @property(nonatomic, assign, readonly) DSExtendedBarcodeResultType extendedBarcodeResultType;
    
  2. var extendedBarcodeResultType: ExtendedBarcodeResultType { get }
    

Return Value

A DSExtendedBarcodeResultType item representing the extended barcode result type.

getDeformation

Returns the degree of deformation or distortion of the decoded barcode.

  • Objective-C
  • Swift
  1. @property(nonatomic, assign, readonly) NSInteger deformation;
    
  2. var deformation: Int { get }
    

Return Value

An integer representing the deformation level of the barcode zone.

getClarity

Returns the clarity/quality level of the decoded barcode.

  • Objective-C
  • Swift
  1. @property(nonatomic, assign, readonly) NSInteger clarity;
    
  2. var clarity: Int { get }
    

Return Value

An integer representing the clarity/quality level of the barcode zone.

getSamplingImage

Returns the sampling image of the decoded barcode as a DSImageData object.

  • Objective-C
  • Swift
  1. @property(nonatomic, nullable, readonly) DSImageData *samplingImage;
    
  2. var samplingImage: ImageData? { get }
    

Return Value

A DSImageData object representing the sampling image of the barcode zone.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 10.x
    • Version 10.2.1101
    • Version 10.2.1100
    • Version 10.2.1101
    • Version 10.2.10
    • Version 10.0.21
    • Version 10.0.20
    • Version 10.2.10
    • Version 10.0.21
    • Version 10.0.20
  • Version 9.x
    • Version 9.6.40
    • Version 9.6.20
    • Version 9.6.11
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.11
    • Version 9.2.10
    • Version 9.0.2
    • Version 9.0.1
    • Version 9.0.0
    • Version 9.6.40
    • Version 9.6.20
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.13
    • Version 9.2.10
    • Version 9.0.2
    • Version 9.0.1
    • Version 9.0.0
  • Version 8.x
    • Version 8.9.3
    • Version 8.9.1
    • Version 8.9.0
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.1
    • Version 8.2.0
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
    • Version 8.9.3
    • Version 8.9.1
    • Version 8.9.0
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.1
    • 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
    • Version 7.6.0
    • Version 7.5.0
  • Documentation Homepage
Change +