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

Glossary Item Box

Description

Closes current scanner session.

Syntax

Visual Basic
Public Sub CloseSource() 

Remarks

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.