Click or drag to resize

TwainControllerOpenSourceManager Method

Opens a connection to the TWAIN Source Manager.

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public TwainReturnCode OpenSourceManager()

Return Value

Type: TwainReturnCode
The return code from the TWAIN OPENDSM operation.
Exceptions
ExceptionCondition
Thrown if the source manager is already open.
Thrown if the parent window is null.
Remarks
A connection to the source manager must be made before calling OpenSource or OpenSource(TwainIdentity). CloseSourceManager must be called to close the connection when finished with it.
Examples
ShowSelectSource
See Also