TWAIN ActiveX/Plug-in Windows/Mac HTTP Control/SDK

OpenSourceManager Method

Description

Loads and opens Data Source Manager.

Support information

ActiveX Edition Plug-in Edition Mac Edition
Since V1.0 Since V1.0 Since V6.4

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.




TWAIN ActiveX | TWAIN Plug-in | TWAIN Control | TWAIN SDK | Scanner COM
Software Configuration Management | Version Control | Source Control
Copyright © 2012 Dynamsoft Corporation. All Rights Reserved.