Dynamsoft Home|Product Home

CloseSource Method

Description

Closes Data Source.

Syntax

Boolean ObjectName. CloseSource()

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

CloseSource() is called automatically if necessary, since Dynamic (Web) TWAIN has built-in Wizard Mode.

See also

OpenSource()