Accusoft TwainPRO 8
SetDataSource Method
See Also  Send comments on this topic.
Index
A long value which represents a zero-based index which matches the data source.
AccusoftTwainPro8 ActiveX DLL > TwainPro Object : SetDataSource Method

Glossary Item Box

Description

Selects a TWAIN Data Source from the DataSourceList property as the current Data Source.

Syntax

Visual Basic
Public Sub SetDataSource( _
   ByVal Index As Long _
) 

Parameters

Index
A long value which represents a zero-based index which matches the data source.

Remarks

The method OpenDSM must be called before this method. Use the property DataSourceCount to determine how many Data Sources are on the current system.

See Also

©2013. Accusoft Corporation. All Rights Reserved.