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 |
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. |
The ID generated by the SDK.
>- Objective-C >- Swift > >1. ```objc @property (nonatomic, assign) NSInteger roiId; ``` 2. ```swift var roiId: Int { get set } ```The left top point of the region.
>- Objective-C >- Swift > >1. ```objc @property (nonatomic, assign) CGPoint point; ``` 2. ```swift var point: CGPoint { get set } ```The width of the region.
>- Objective-C >- Swift > >1. ```objc @property (nonatomic, assign) NSInteger width; ``` 2. ```swift var width: Int { get set } ```The height of the region.
>- Objective-C >- Swift > >1. ```objc @property (nonatomic, assign) NSInteger height; ``` 2. ```swift var height: Int { get set } ```