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#
VB
C++
[FlagsAttribute()] 
public enum TwainFastUserInterfaceFlags   
<FlagsAttribute()> 
Public Enum TwainFastUserInterfaceFlags  
[FlagsAttribute()] 
public enum class TwainFastUserInterfaceFlags   

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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Twain Assembly