ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Scanner functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Opens a standard dialog box with the available scanners. The user can select the Scanner to be used for scan operations: the corresponding information will be retrieved in a variable of type Scanner.
Example
// Sélection du scanner par l'utilisateur
MonScanneur is Scanner = ScanSelect()
// Pas de scanneur sur le poste ou annulation de l'utilisateur ?
IF ErrorOccurred _OR_ MonScanneur.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: wd300std.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help