Dynamsoft Home|Product Home

IfDisableSourceAfterAcquire Property

Description

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

Data type

Boolean

Syntax

ObjectName. IfDisableSourceAfterAcquire

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

When an error occurs and IfThrowException property is TRUE, an exception will be thrown. Check ErrorCode property and ErrorString property for error information.

See also

EnableSource(), DisableSource(), IfShowUI property