Using the User Interface (UI)

 

You can enable/disable displaying the user interface before scanning. You can specify all of the capabilities of the scanner programmatically so you do not have to display the UI. You can write your own user interface dialog for the scanner. The GetUIEnabled and the SetUIEnable functions are used for specifying the UI in the BiTWAIN.dll. The EnableUI property is used for displaying UI in the BiTWAIN.ocx.

 

You can enable/disable the progress indicator too using the GetScanProgressBarEnbl and SetScanProgressBarEnbl functions/methods. If you disable the progress indicator, the progress indicator will be suppressed if the source’s user interface is inactive.

 

[C++]

 

#include “BiTwain.h”

 

/* Disable the user interface */

 

SetUIEnable(0);

 

[VB]

 

‘ Disable the user interface

 

BiTwain.EnableUI = 0

 

[C#]

 

/* Disable the user interface */

 

BiTwain.EnableUI = 0;