Skip to content

Latest commit

 

History

History
83 lines (65 loc) · 2.49 KB

deformation-resisted-barcode-image-unit.md

File metadata and controls

83 lines (65 loc) · 2.49 KB
layout title description keywords needAutoGenerateSidebar needGenerateH3Content breadcrumbText permalink
default-layout
DSDeformationResistedBarcodeImageUnit Class - Dynamsoft Barcode Reader iOS Edition
The DSDeformationResistedBarcodeImageUnit class represents a unit that contains deformation resisted barcode image data. It inherits from the DSIntermediateResultUnit class.
GetImageData, DSDeformationResistedBarcodeImageUnit, api reference
true
true
DSDeformationResistedBarcodeImageUnit
/programming/objectivec-swift/api-reference/deformation-resisted-barcode-image-unit.html

DSDeformationResistedBarcodeImageUnit Class

The DSDeformationResistedBarcodeImageUnit class represents a unit that contains deformation resisted barcode image data. It inherits from the [DSIntermediateResultUnit]({{ site.dcv_ios_api }}core/intermediate-results/intermediate-result-unit.html) class.

Definition

Assembly: DynamsoftBarcodeReader.framework

>- Objective-C >- Swift > >1. ```objc @interface DSDeformationResistedBarcodeImageUnit: DSIntermediateResultUnit ``` 2. ```swift class DeformationResistedBarcodeImageUnit: DSIntermediateResultUnit ```

Methods

Method Description
getDeformationResistedBarcode Gets the deformation resisted barcode.
setDeformationResistedBarcode Sets the deformation resisted barcode.

Inherited Methods

The following methods are inherited from class [DSIntermediateResultUnit]({{ site.dcv_ios_api }}core/intermediate-results/intermediate-result-unit.html).

{%- include api-reference/intermediate-result-unit-ios.md -%}

getDeformationResistedBarcode

Gets the deformation resisted barcode.

>- Objective-C >- Swift > >1. ```objc -(DSDeformationResistedBarcode *)getDeformationResistedBarcode ``` 2. ```swift func getDeformationResistedBarcode() -> DeformationResistedBarcode ```

Return Value

The deformation resisted barcode.

setDeformationResistedBarcode

Sets the deformation resisted barcode.

>- Objective-C >- Swift > >1. ```objc -(NSInteger)setDeformationResistedBarcode:(DSDeformationResistedBarcode*)barcode matrixToOriginalImage:(CGAffineTransform)matrixToOriginalImage ``` 2. ```swift func setDeformationResistedBarcode(barcode: DeformationResistedBarcode, matrixToOriginalImage: CGAffineTransform) -> Int ```