Skip to content

Latest commit

 

History

History
104 lines (88 loc) · 1.81 KB

File metadata and controls

104 lines (88 loc) · 1.81 KB
layout title description keywords needAutoGenerateSidebar noTitleIndex multiProgrammingLanguage enableLanguageSelection ignore permalink
default-layout
iRegionOfInterest Class - Dynamsoft Barcode Reader iOS API Reference
This page shows the iRegionOfInterest Class of Dynamsoft Barcode Reader for iOS SDK.
iRegionOfInterest, class, api reference, objective-c, oc, swift
true
true
true
true
true
/programming/objectivec-swift/api-reference/auxiliary-iRegionOfInterest.html

Class iRegionOfInterest

Stores the region of interest.

>- Objective-C >- Swift > >1. ```objc @interface iRegionOfInterest : NSObject ``` 2. ```swift class iRegionOfInterest : NSObject ```
Attribute Descriptions
roiId The ID generated by the SDK.
point The left top point of the region.
width The width of the region.
height The height of the region.

roiId

The ID generated by the SDK.

>- Objective-C >- Swift > >1. ```objc @property (nonatomic, assign) NSInteger roiId; ``` 2. ```swift var roiId: Int { get set } ```

point

The left top point of the region.

>- Objective-C >- Swift > >1. ```objc @property (nonatomic, assign) CGPoint point; ``` 2. ```swift var point: CGPoint { get set } ```

width

The width of the region.

>- Objective-C >- Swift > >1. ```objc @property (nonatomic, assign) NSInteger width; ``` 2. ```swift var width: Int { get set } ```

height

The height of the region.

>- Objective-C >- Swift > >1. ```objc @property (nonatomic, assign) NSInteger height; ``` 2. ```swift var height: Int { get set } ```