ImageMan ImTwain Control Version 8
CloseSource Method
See Also  Send comments on this topic.

Glossary Item Box


Closes current scanner session.


Visual Basic
Public Sub CloseSource() 


Must be called after checking capabilities unless you are going to initiate a scan. Also, must be called after you are done with calling PageScan unless hDIB = 0 has been returned.

If called during a scan, the current scan job will be cancelled, clearing all current twain properties. Otherwise, no error will be caused by calling CloseSource at any time.

See Also

© 2014 Data Techniques Inc. All Rights Reserved.