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

Glossary Item Box

Description

Returns a collection of Identity objects describing the scanners installed on the system.

Property type

Read-only property

Syntax

Visual Basic
Public Property Sources As Object

Example

(Visual Basic)Copy Code
Set Sources = ImTwain.Sources

nCount = Sources.Count

If nCount = 0 Then
    MsgBox "No Scanner Available"
Else
    For Each identity In Sources
        List1.AddItem identity.ProductName 'ImTwain.Sources(i)
    Next
End If

See Also

© 2014 Data Techniques Inc. All Rights Reserved.