←Select platform

TwainFastUserInterfaceFlags Enumeration

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

Syntax
C#
C++/CLI
Python
[FlagsAttribute()] 
public enum TwainFastUserInterfaceFlags   
[FlagsAttribute()] 
public enum class TwainFastUserInterfaceFlags   
class TwainFastUserInterfaceFlags(Enum): 
   None = 0 
   Show = 1 
   Modal = 2 
   UseThread = 8 
   CheckDefaultBitsPerPixel = 16 
   KeepOpen = 32 
   SuppressMessageBoxes = 256 
Members
ValueMemberDescription
0x00000000None Default, no user interface is shown. Not all TWAIN Data Sources support this feature.
0x00000001Show Shows the manufacturer's user interface as modeless.
0x00000002Modal Shows the manufacturer's user interface as a modal dialog. Works only if the Show is set.
0x00000008UseThread Enable using thread mode.
0x00000010CheckDefaultBitsPerPixel Tests all supported BPP.
0x00000020KeepOpen 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.
0x00000100SuppressMessageBoxes Suppresses message boxes that show up before the manufacturer's user interface dialog.
Requirements

Target Platforms

See Also

Reference

Leadtools.Twain Namespace

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

Leadtools.Twain Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.