Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.9.21
|
Leadtools.Twain Namespace : TwainUserInterfaceFlags Enumeration |
[DataContractAttribute()] [FlagsAttribute()] public enum TwainUserInterfaceFlags : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
'Declaration
<DataContractAttribute()> <FlagsAttribute()> Public Enum TwainUserInterfaceFlags Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage
Dim instance As TwainUserInterfaceFlags
[DataContractAttribute()] [FlagsAttribute()] public enum class TwainUserInterfaceFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Value | Member | Description |
---|---|---|
0x00000000 | None | Default, no user interface is shown. Not all TWAIN Data Sources support this feature. |
0x00000001 | Show | Shows the manufacturer's user interface as modeless. |
0x00000002 | Modal | Shows the manufacturer's user interface as a modal dialog. Works only if the Show is set. |
0x00000020 | KeepOpen | Keep the TWAIN data source open after scanning. The TwainUserInterfaceFlags.KeepOpen flag works only in the following cases:
|
0x00000040 | MemoryCheckImageInfo | Checks image information while scanning multi pages with different dimensions. This flag is used only with memory transfer mode. Use MemoryCheckImageInfo flag only when memory transfer mode is used. Also, this flag will not affect native and file transfer modes. When scanning multi pages or multi areas with memory transfer mode, you may need to use (MemoryCheckImageInfo); this flag will let the TWAIN DLL to check the image information for each page or area before start pending the image data to application. Some drivers will not work with this flag like TWAIN Virtual Driver; in this case, you shouldn't pass this flag. The usage of the flag does not follow the TWAIN specification, but is included as work around for TWAIN drivers that scan multiple pages with different image dimensions. Usage of this flag should be limited only to these special and unusual cases. |
0x00000080 | ImageSizeUndefined | Calculate the acquired image size after the image is acquired. This flag is used only with memory transfer mode. Use ImageSizeUndefined flag only when memory transfer mode is used. So, to use this flag, you should set TwainCapabilityType.ImageTransferMechanism capability to TwainTransferMechanism.Memory and then set TwainCapabilityType.ImageUndefinedImageSize capability to TRUE before calling TwainSession.Acquire(), otherwise, the TwainSession.Acquire() will return an error. |
System.Object
System.ValueType
System.Enum
Leadtools.Twain.TwainUserInterfaceFlags