Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
TwainFastUserInterfaceFlags Enumeration
See Also  
Leadtools.Twain Namespace : TwainFastUserInterfaceFlags Enumeration




(Document/Medical only) Indicates whether to display the manufacturer's user interface and whether to use Thread mode in Fast Twain.

Syntax

Visual Basic (Declaration) 
<FlagsAttribute()>
Public Enum TwainFastUserInterfaceFlags 
   Inherits Enum
Visual Basic (Usage)Copy Code
Dim instance As TwainFastUserInterfaceFlags
C# 
[FlagsAttribute()]
public enum TwainFastUserInterfaceFlags : Enum 
Managed Extensions for C++ 
[FlagsAttribute()]
__value public enum TwainFastUserInterfaceFlags : public Enum 
C++/CLI 
[FlagsAttribute()]
public enum class TwainFastUserInterfaceFlags : public Enum 

Members

MemberDescription
None Default, no user interface is shown. Not all TWAIN Data Sources support this feature.
Show Shows the manufacturer's user interface as modeless.
Modal Shows the manufacturer's user interface as a modal dialog. Works only if the Show is set.
UseThread Enable using thread mode.
CheckDefaultBitsPerPixel Tests all supported BPP.
KeepOpen Keep the TWAIN data source open after scanning.

The TwainFastUserInterfaceFlags.KeepOpen flag works only in the following cases:

  • Passed along with TwainFastUserInterfaceFlags.Show flag to make TWAIN user-interface appears as modeless dialog. The TWAIN data source remains open after scanning until the user closes it.
  • Passed along with TwainFastUserInterfaceFlags.Show and TwainFastUserInterfaceFlags.Modal flags to make the TWAIN user-interface appears as modal dialog. The TWAIN data source remains open after scanning until the user closes it.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Twain.TwainFastUserInterfaceFlags

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also