Enables or disables the display of a progress indicator during the acquisition of images from the current TWAIN source.
#include "ltwrappr.h"
L_INT LTwain::ShowProgress (bShow)
Flag that indicates whether to display a progress indicator during image acquisition from the current TWAIN source. Possible values are:
Value | Meaning |
---|---|
TRUE | Displays progress indicator during image acquisition. |
FALSE | Hides the progress indicator during image acquisition. |
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
L_INT LTwain__ShowProgressExample(LTwain * plTwain)
{
L_INT nRet;
nRet = plTwain->ShowProgress(TRUE);
if(nRet != SUCCESS)
return nRet;
return SUCCESS;
}