Returns or sets whether close the Data Source User Interface after acquire all images. Default value of this property is false.

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

Syntax

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

Remarks

IfShowUI IfDisableSourceAfterAcquire Actions true false UI will be shown, user can acquire many images, user must close UI himself true true UI will be shown, only one image will be acquired, UI will be closed automatically false false UI will not be shown, one or many images will be acquired (if the source supports), the device will not be closed automatically and needs to be closed by DisableSource() method false true UI will not be shown, one or many images will be acquired (if the source supports), the device will be closed automatically

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