Dynamsoft Home|Product Home

OpenSourceManager Method

Description

Loads and opens Data Source Manager.

Syntax

Boolean ObjectName. OpenSourceManager()

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

If application identification information needs to be set, it should be set before OpenSourceManager().

Dynamic (Web) TWAIN has built-in Wizard Mode. With Wizard Mode, OpenSourceManager() can be called intelligently by other functions, such as EnableSource() or SelectSource(), if necessary. 

OpenSourceManager() populates SourceNameItems property with a list of installed sources. SourceNameItems property along with other properties and methods can be used to customize source selection interface.

See also

AcquireImage(), CloseSourceManager(), EnableSource(), OpenSource(), SelectSource(), TWAIN state transition.