DisableSource()

Description

Disables but doesn't close the current Data Source. If the source's user interface is displayed, it will be closed.

Syntax

.DisableSource();

Parameters

None

Return value

bool

true indicates success. false indicates failure.

When false is returned, check ErrorCode or ErrorString for error information.

Remarks

After DisableSource() is called, the Source is still open and you can continue to acquire images.

See also

EnableSource()
OpenSource()