Click or drag to resize

TwainControllerOpenSource Method (TwainIdentity)

Opens a connection to the device passed in.

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 OpenSource(
	TwainIdentity deviceIdentity
)

Parameters

deviceIdentity
Type: Atalasoft.TwainTwainIdentity
The device to open.

Return Value

Type: TwainReturnCode
The return code from the source manager.
Exceptions
ExceptionCondition
Thrown if the current state is not SourceManagerOpen.
Thrown if the deviceIdentity parameter is null.
Remarks
See Also