IfDisableSourceAfterAcquire

Description

Returns or sets whether to close the User Interface after all images have been scanned and transferred.

Data type

bool

Default value

false

Syntax

.IfDisableSourceAfterAcquire = true;

Remarks

Set this property after OpenSource() and before AcquireImage().

The property is typically used together with IfShowUI.

IfShowUI IfDisableSourceAfterAcquire Actions
true false UI will show, one or many images will be acquired (if supported by the Data Source).
UI will not be closed automatically and needs to be closed manually.
true true UI will show, one or many images will be acquired (if supported by the Data Source).
UI will be closed automatically.
false false UI will not show, one or many images will be acquired (if supported by the Data Source).
false true UI will not show, one or many images will be acquired (if supported by the Data Source).

When an error occurs, check ErrorCode or ErrorString for error information.

See also

EnableSource()
DisableSource()
IfShowUI