SelectSourceByIndex Method
Description
Selects the index-the source in SourceNameItems property as the current source.
| ActiveX Edition | Plug-in Edition | Mac Edition |
|---|---|---|
| Since V1.0 | Since V4.0 | Since V6.4 |
Syntax
Boolean ObjectName. SelectSourceByIndex(Long index)
Parameters
Long index. It is the index of SourceNameItems property.
Return value
Boolean.
TRUE indicates success. FALSE indicates failure.
When an error occurs and IfThrowException property is TRUE, an exception will be thrown.
When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.
Remarks
The index is 0-based.
See also
SourceCount propeprty, SelectSource(), SourceNameItems property
Samples
Copyright © 2012 Dynamsoft Corporation.All Rights Reserved.
