ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Scanner functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Opens a standard dialog box with the available scanners. The user can select the desired scanner: the corresponding information will be retrieved in a variable of type Scanner.
Example
// Scanner selection by the user
MyScanner is Scanner = ScanSelect()
// No scanner connected to the computer or operation canceled by the user?
IF ErrorOccurred _OR_ MyScanner.Name = "" THEN
RETURN
END
Syntax
<Result> = ScanSelect()
<Result>: Scanner variable
Scanner variable initialized with the details of the scanner selected by the user in the standard dialog box.
If an error occurs, or if the user has not selected a scanner in the dialog box, the ErrorOccurred variable is set to True and the corresponding error message is returned by ErrorInfo.
Remarks
The behavior of the function varies depending on the number of scanners connected to the current computer:
  • If no scanner is connected to the current computer, the standard dialog box is not displayed and the ErrorOccurred variable is set to True.
  • If at least one scanner is available, a standard dialog box will be displayed, showing the different scanners available on the current computer. The user will be able to select the scanner to be used.
Business / UI classification: UI Code
Component: wd290std.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/12/2022

Send a report | Local help