|
|
|
|
|
<Scanner variable>.WithUserInterface (Function) In french: <Variable Scanneur>.AvecInterfaceUtilisateur Saves a document from a scanner to one or more files, using the scanner's user interface. MyScanner is Scanner // Scanner with user interface arrFile is array of string = MyScanner.WithUserInterface() // Display paths of scanned files FOR EACH FileName OF arrFile Trace(FileName) END
Syntax
<Result> = <Scanner>.WithUserInterface([<File path>] [, <Options>])
<Result>: Array Array of strings containing the paths of the scanned files. If an error occurs, the ErrorOccurred variable is set to True and ErrorInfo returns the corresponding error message. <Scanner>: Scanner variable Name of the Scanner variable initialized with the details of the scanner used. Only the name of the scanner will be taken into account. The other scanner parameters will be determined by the options chosen by the user in the scanner's UI. <File path>: Optional character string Name and full (or relative) path of file (up to 260 characters). The file extension will be ignored since it will depend on the type of file chosen by the user. A UNC path can be used. The name of each scanned file will be indexed so as not to overwrite an existing file. If this path is not specified, the files will be generated in the current directory with "scan" as a prefix (for example, if the user has selected the bmp format, a "scan.gif" file will be generated). <Options>: Combination of optional Integer constants Scan options with the user interface: | | scanUIOptionDefault (Default value) | Uses the default options. | scanUIOptionSingleImage | Restricts the user interface to scan one single file. Remark: Some scanners do not support this option. | scanUIOptionSystem | Displays the system user interface, if available, instead of the scanner-specific user interface. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|