Dynamsoft Home|Product Home

SourceCount Property

Description

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

Data type

Integer

Syntax

ObjectName. SourceCount

Remarks

If SourceCount is 0, no source is installed or the Source Manager is not open.

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

OpenSourceManager(), SelectSource(), SelectSourceByIndex(), SourceNameItems property

Samples

Select necessary device without device selection dialog.