ShowProgressIndicator Method

Summary

Enables or disables the display of a progress indicator during the acquisition of images from the current TWAIN source.

Syntax
C#
VB
C++
public void ShowProgressIndicator( 
   bool show 
) 
Public Sub ShowProgressIndicator( _ 
   ByVal show As Boolean _ 
)  
public: 
void ShowProgressIndicator(  
   bool show 
)  

Parameters

show
Flag that indicates whether to display a progress indicator during image acquisition from the current TWAIN source. Possible values are:

true: displays the progress indicator during image acquisition. false: hides the progress indicator during image acquisition

Example
C#
VB
using Leadtools; 
using Leadtools.Twain; 
 
public void ShowProgressIndicatorExample(IntPtr parent) 
{ 
   TwainSession session = new TwainSession(); 
   session.Startup(parent, "manufacturer", "productFamily", "version", "application", TwainStartupFlags.None); 
 
   session.ShowProgressIndicator(true); 
 
   session.Shutdown(); 
} 
Imports Leadtools 
Imports Leadtools.Twain 
 
Public Sub ShowProgressIndicatorExample(ByVal parent As IntPtr) 
   Dim session As TwainSession = New TwainSession() 
   session.Startup(parent, "manufacturer", "productFamily", "version", "application", TwainStartupFlags.None) 
 
   session.ShowProgressIndicator(True) 
 
   session.Shutdown() 
End Sub 

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Twain Assembly