Method SANE.Scanner()->list_options()


Method list_options

array(mapping) list_options()

Description

This method returns an array where every element is a mapping, layed out as follows.

"name" : string 
"title" : string 
"desc" : string 
"type" : string
"boolean"
"int"
"float"
"string"
"button"
"group"
"unit" : string
"none"
"pixel"
"bit"
"mm"
"dpi"
"percent"
"microsend"
"size" : int 
"cap" : multiset
"soft_select"
"hard_select"
"emulate"
"automatic"
"inactive"
"advanced"
"constraint" : int(0)|mapping

Constraints can be of three different types; range, word list or string list. Constraint contains 0 if there are no constraints.

"type" : string

Contains the value "range".

"max" : int 
"min" : int 
"quant" : int 
"type" : string

Contains the value "list".

"list" : array(float|int) 
"type" : string

Contains the value "list".

"list" : array(string)