DTwainAcquirer::SetUIMode |
Top Previous Next |
Syntax
DTwainAcquirer& SetUIMode( bool bMode=true );
Parameters bMode
Sets whether the user interface for the TWAIN Source is shown when acquiring images.
Return Value Returns reference to current DTwainAcquirer object (*this).
Comments
DTwainAcquirer::SetUIMode determines whether the TWAIN Source's user interface is shown during the acquisition process. If bMode is true, the TWAIN Source's user interface is shown. If bMode is false, the user-interface will not be shown. Note that only TWAIN Source's that allow you to turn off the user interface will respect the false setting. If the Source does not allow the user-interface to be turned off, the user-interface will be shown during acquisition processing.
To test to see if the TWAIN Source supports turning off the user-interface, call DTwainSource::IsUIControllable.
|