SetScanProgressBarEnbl

#include "BiTwain.h"

 

int CALLBACK SetScanProgressBarEnbl(BOOL bEnable)

Description

This function specifies the displaying of the progress indicator during scanning and transferring data. If the Source’s user interface is active, the progress indicator will be displayed. If the Source’s user interface is inactive, and the bEnable parameter is FALSE, the progress indicator will be suppressed.

Important: Before scanning, if the scanner specific driver user interface is enabled, the driver most likely will overwrite the feeder value set by this function.

Parameters

BOOL

enable

If TRUE, the progress indicator will be displayed, if FALSE and the user interface is inactive, the progressbar will be suppressed.

Return values

Return TW_OK on success or an error code on failure.

Requirements

Header :     Declared in BiTwain.h; include BiTwain.h.

Library :    Use BiTwain.lib.

DLLs :       BiTwain.dll.