Displays the source's built-in interface to acquire image.

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

Syntax

C#
public bool AcquireImage()
Visual Basic
Public Function AcquireImage As Boolean

Return Value

True indicates success. False indicates failure.

Remarks

This method does the same thing as EnableSource(). The purpose of providing this method is to enable user to handle Twain-compliant image acquisition device without knowing the terms used in Twain specification.

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