Dynamsoft Home|Product Home

AcquireImage Method

Description

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

Syntax

Boolean ObjectName. AcquireImage()

Parameters

None.

Return value

Boolean.

TRUE indicates success. FALSE indicates failure.

When an error occurs and IfThrowException property is TRUE, an exception will be thrown.

When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.

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.

IMPORTANT: The value of this method is returned when the scanning starts.

See also

EnableSource()