ICImagingControl.Device Property

Returns or sets a video capture device. A list of all available video capture devices can be obtained using the Devices collection, which can be retrieved with a call to ICImagingControl.Devices.
Syntax:
[C#]
public string Device;
Remarks:

Changing the device invalidates the ICImagingControl.VideoNorm and the ICImagingControl.InputChannel property and those which depend on these.

Sample:

This example selects the first available device:

[C#]
Device dev = ICImagingControl1.Devices[0]; ICImagingControl1.Device = dev.Name;

Selecting devices, input channels, video norms and video formats is shown in the Making Device Settings chapter.

See also: ICImagingControl, ICImagingControl.Devices, ICImagingControl.DeviceValid

<< ICImagingControl