Class ScanOptions

Helper class for getting/setting scan options.

Any changes (i.e. calls to ScanOptions.setValue) return a new class instance.

Hierarchy

Constructors

Properties

_lib: LibSANE
brX: null | ScanOption<number> = null

Well-known SANE option br-x.

brY: null | ScanOption<number> = null

Well-known SANE option br-y.

options: readonly ScanOption<any>[]

List of all SANE options.

preview: null | ScanOption<boolean> = null

Well-known SANE option preview.

resolution: null | ScanOption<number> = null

Well-known SANE option resolution.

tlX: null | ScanOption<number> = null

Well-known SANE option tl-x.

tlY: null | ScanOption<number> = null

Well-known SANE option tl-y.

zero: ScanOption<number>

Well-known SANE option index zero (total number of options).

Methods

Generated using TypeDoc