Retrieves the characteristics of a scanner in a variable of type
Scanner. This variable can then be used to perform scan operations.
Remark: To get a list of the scanners connected to the current computer, use
ScanList.
// Gets the characteristics of a scanner
MyScanner is Scanner
MyScanner = ScanGet("hp scanjet 5590")
Syntax
<Result> = ScanGet(<Scanner name>)
<Result>: Scanner variable
Scanner variable initialized with the characteristics of <Scanner name>. If an error occurs, the
ErrorOccurred variable is set to
True and
ErrorInfo returns the corresponding error message.
<Scanner name>: Character string
Name of the scanner whose characteristics are to be retrieved. This name must be one of the names returned by ScanList.
Business / UI classification: UI Code