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

OpenSource Method

Description

Loads the specified Source into main memory and causes its initialization, placing Dynamic (Web) TWAIN into Capability Negotiation state. If no source is specified (no SelectSource() or SelectSourceByIndex() is called), opens the default source.

Syntax

Boolean ObjectName. OpenSource()

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

OpenSource() should be called prior to negotiating capability.

If no source selection function is called before OpenSource(), OpenSource() opens the default source.

See also

CloseSource(), OpenSourceManager(), SelectSource(), SelectSourceByIndex(), How to Negotiate Capability with Different Capability Container Types.

 

 

 













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