Click or drag to resize

TwainControllerOpenSource Method

Opens a connection to the CurrentDevice.

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()

Return Value

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

If the CurrentDevice property has not been set, the system default device will be used.

CloseSource must be called when you are finished with the device.

See Also