The leading provider of version control solutions and TWAIN SDKs
  • Contact us









SourceCount Property

Description

Returns how many sources are installed in the system. This is a runtime, read-only property.

ActiveX Edition Plug-in Edition Mac Edition
Since V1.0 Since V1.0 Since V6.4

Data type

Integer

Syntax

ObjectName. SourceCount

Remarks

If SourceCount is 0, no source is installed.

When an error occurs and IfThrowException property is TRUE, an exception will be thrown. Check ErrorCode property and ErrorString property for error information.

See also

SelectSource(), SelectSourceByIndex(), SourceNameItems property

Samples

Select necessary device without device selection dialog.