-sd |
Top Previous Next |
-sd
Select the default TWAIN device. The default device is the last one selected by a previous TWAIN enabled application, or if it is the only TWAIN device installed. See -sn for selection of a TWAIN device by specifying its Product Name. Using -sd suppresses the usual "Select TWAIN device" dialog and chooses the device immediately.
If neither -sd or -sn is specified on the command-line, the TWAIN "Select TWAIN device" dialog is displayed to the user.
Example: DTWAIN_TwainSave("-sd -noui -F bmp -f test.bmp");
The example above:
Default Setting: The TWAIN "Select TWAIN device" dialog is shown if the -sn option is also not specified..
|