Dynamic Web TWAIN  - TWAIN ActiveX/Plug-in, Scanner COM Control
TWAIN ActiveX/Plug-in HTTP Control/SDK

DisableSource Method

Description

Disable the source. If the source's user interface is displayed when the source is enabled, it will be closed. 

Syntax

ObjectName. DisableSource()

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

After DisableSource(), the Source is returned to State 4, where capability negotiation can again occur.

See also

EnableSource(), OpenSource(), TWAIN State Transition.

 

 

 













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