layout | title | description | keywords | needAutoGenerateSidebar | needGenerateH3Content | breadcrumbText | permalink |
---|---|---|---|---|---|---|---|
default-layout |
DSScaledUpBarcodeImageUnit Class - Dynamsoft Barcode Reader iOS Edition |
DSScaledUpBarcodeImageUnit class represents a unit that contains scaled up barcode image. It inherits from the DSIntermediateResultUnit class. |
GetImageData, DSScaledUpBarcodeImageUnit, api reference |
true |
true |
DSScaledUpBarcodeImageUnit |
/programming/objectivec-swift/api-reference/scaled-up-barcode-image-unit-v10.0.21.html |
The DSScaledUpBarcodeImageUnit
class represents a unit that contains scaled up barcode image. It inherits from the [DSIntermediateResultUnit
]({{ site.dcv_ios_api }}core/intermediate-results/intermediate-result-unit.html) class.
Assembly: DynamsoftBarcodeReader.xcframework
>- Objective-C >- Swift > >1. ```objc @interface DSScaledUpBarcodeImageUnit: DSIntermediateResultUnit ``` 2. ```swift class ScaledUpBarcodeImageUnit: DSIntermediateResultUnit ```Attributes | Type | Description |
---|---|---|
imageData |
DSImageData * | The up-scaled barcode image. |
The following attributes are inherited from class [DSIntermediateResultUnit
]({{ site.dcv_ios_api }}core/intermediate-results/intermediate-result-unit.html).
Attributes | Type | Description |
---|---|---|
[hashId ]({{ site.dcv_ios_api }}core/intermediate-results/intermediate-result-unit.html#hashid) |
NSString * | The hash ID of the unit. |
[originalImageHashId ]({{ site.dcv_ios_api }}core/intermediate-results/intermediate-result-unit.html#originalimagehashid) |
NSString * | The hash ID of the original image. You can use this ID to get the original image via [DSIntermediateResultManager ]({{ site.dcv_ios_api }}core/intermediate-results/intermediate-result-manager.html) class. |
[originalImageTag ]({{ site.dcv_ios_api }}core/intermediate-results/intermediate-result-unit.html#originalimagetag) |
DSImageTag * | The image tag of the original image. |
[type ]({{ site.dcv_ios_api }}core/intermediate-results/intermediate-result-unit.html#type) |
DSIntermediateResultUnitType | The type of the intermediate result unit. |
The following methods are inherited from class [DSIntermediateResultUnit
]({{ site.dcv_ios_api }}core/intermediate-results/intermediate-result-unit.html).
Method | Description |
---|---|
[getTransformMatrix ]({{ site.dcv_ios_api }}core/intermediate-results/intermediate-result-unit.html#gettransformmatrix) |
Gets the transformation matrix via DSTransformMatrixType . |
[clone ]({{ site.dcv_ios_api }}core/intermediate-results/intermediate-result-unit.html#clone) |
Creates a copy of the intermediate result unit. |
The up-scaled barcode image.
>- Objective-C >- Swift > >1. ```objc @property(nonatomic, strong) DSImageData *imageData; ``` 2. ```swift var imageData: DSImageData? { get set } ```