DTwainSource::SelectDefault |
Top Previous Next |
Syntax
static DTwainSource DTwainSource::SelectDefault( bool bOpenSource=true );
Parameters
bOpenSource Indicates if Source is to be opened when selected.
Returns On successful return, a new DTwainSource object will be returned representing the default TWAIN Source.
Comments The CDTwainSource::SelectDefault function allows the application to select the default TWAIN Source. The default TWAIN Source is the last TWAIN Source that was used, or if there is only one TWAIN Source installed, the default Source is always the single Source that is installed. No TWAIN "Select Source" dialog is displayed.
The bOpenSource should be true if you want the Source to be opened after it has been selected, false otherwise. |