previewWidth

Typeproperty
Dictionaryandroid.barcodescanner
LibraryAndroid Barcode Scanner
Syntax
get the previewWidth of <widget>
set the previewWidth of <widget> to <pixels>
Associationscom.livecode.widget.native.android.barcodescanner
Summary

The width of the camera's resolution.

OSandroid
RelatedProperty: previewHeight, previewFPS
Description

Set the previewWidth to specify the number of pixels in the width component of the barcode scanning camera preview resolution. If the exact value is not available, the best matching value is selected.

Note: The camera preview size will always corresponds to the aspect ratio of an associated full picture size,

Note: The camera preview size is always assumed to be in landscape.

Note: This property does not effect the size of the widget.