Returns or sets whether the UI (User Interface) of Source runs in modal state. Default value of this property is true.

Namespace: Dynamsoft.DotNet.TWAIN
Assembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
public bool IfModalUI { get; set; }
Visual Basic
Public Property IfModalUI As Boolean
	Get
	Set

Remarks

If the property is true, the TWAIN Data Source will display its User Interface as modal window when invoking the AcquireImage method.

Exceptions

ExceptionCondition
Dynamsoft.DotNet.TWAIN..::..TwainException When an error occurs and IfThrowException property is true, an exception will be thrown. When IfThrowException property is false, please check ErrorCode and ErrorString.

See Also