Zoom Control
Zoom control is commonly used when processing small barcodes or scanning from a long distance. There are two zoom control features:
- Auto-zoom: Lets the library determine whether to zoom in.
- Zoom factor: Lets you set the zoom factor directly. This is commonly used when focusing on small barcodes.
Auto Zoom
Enable auto-zoom so the camera can zoom in automatically.

Auto Zoom
- Objective-C
- Swift
[self.dce enableEnhancedFeatures:DSEnhancedFeaturesAutoZoom];dce.enableEnhancedFeatures(EnhancedFeatures.autoZoom)
Related API
Zoom Factor
- Objective-C
- Swift
[self.dce setZoomFactor:2.0];dce.setZoomFactor(2.0)
Related API