ImageMan ImTwain Control Version 8
CurrentSource Property
See Also  Example  Send comments on this topic.

Glossary Item Box

Description

Returns/sets an Identity object specifying the default scanner.

Property type

Read-write property

Syntax

Visual Basic
Public Property CurrentSource As Identity

Remarks

To change scanners without use of the scanner dialog, you will need to assign one of the Identity objects from the Sources collection to this property. This is automatically done if you use the SelectScanner method.

Example

(Visual Basic)Copy Code
' Set the current scanner to the 1st scanner in the Sources collection
ImTwain.CurrentSource = ImTwain.Sources(0)

See Also

© 2014 Data Techniques Inc. All Rights Reserved.