Returns the value indicating the data source status. This is a runtime, read-only property.

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

Syntax

C#
public TWDataSourceStatus DataSourceStatus { get; }
Visual Basic
Public ReadOnly Property DataSourceStatus As TWDataSourceStatus
	Get

Remarks

Allowed values are between 0 and 3, defined in TWDataSourceStatus. 0, indicate the data source is closed. 1, indicate the data source is opened. 2, indicate the data source is enabled. 3, indicate the data source is acquiring image.

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