Skip to content

Commit dc28eb0

Browse files
Merge pull request #402 from dynamsoft-docs/main
Updated BarcodeScannerConfig
2 parents 54b54a8 + e0308b0 commit dc28eb0

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

programming/objectivec-swift/api-reference/barcode-scanner/barcode-scanner-config.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class BarcodeScannerConfig : NSObject
4848
| [`expectedBarcodesCount`](#expectedbarcodescount) | *NSIntger* | Sets or returns the expected number of barcodes. |
4949
| [`isCameraToggleButtonVisible`](#iscameratogglebuttonvisible) | *BOOL* | Sets or returns whether or not the camera toggle button is visible. |
5050
| [`zoomFactor`](#zoomfactor) | *BOOL* | Sets or returns the zoom factor. |
51+
| [`resolution`](#resolution) | *DSResolution* | Sets or returns the resolution. |
5152

5253
### license
5354

@@ -311,3 +312,24 @@ Sets or returns the zoom factor.
311312
```swift
312313
var zoomFactor: CGFloat { get set }
313314
```
315+
316+
### resolution
317+
318+
Sets or returns the resolution.
319+
320+
<div class="sample-code-prefix"></div>
321+
>- Objective-C
322+
>- Swift
323+
>
324+
>1.
325+
```objc
326+
@property(nonatomic, assign) DSResolution resolution;
327+
```
328+
2.
329+
```swift
330+
var resolution: Resolution { get set }
331+
```
332+
333+
**Remarks**
334+
335+
- Introduced in Dynamsoft Barcode Reader SDK version 11.4.1000 and Dynamsoft Capture Vision version 3.4.1000.

0 commit comments

Comments
 (0)