TwainControllerCloseSourceManager Method |
Use to close the source manager and release Twain.
Namespace:
Atalasoft.Twain
Assembly:
Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.5.0.5.0.230 (.NET 4.6.2, x86)
Syntaxpublic TwainReturnCode CloseSourceManager()
Public Function CloseSourceManager As TwainReturnCode
Return Value
Type:
TwainReturnCode The result code from Twain.
Exceptions| Exception | Condition |
|---|
| Thrown if the current state is not SourceManagerOpen. |
Remarks You must close the source manager when you are finished with the Twain session.
Examples ShowSelectSource
See Also