ICImagingControl.VideoFormat Property

Returns or sets the video format of the current video capture device. A list of available video formats can be obtained using the VideoFormats collection, which can be retrieved with a call to ICImagingControl.VideoFormats.
public string VideoFormat;

Only available when a device is open and valid. Not available in live mode.


When the video format is invalidated, the first available video format for the device is selected.

The video format depends on the current video norm. So changing the ICImagingControl.VideoNorm property, will invalidate the video format.

Changing the video format invalidates the ICImagingControl.DeviceFrameRate property.


This example selects the first video format that is supported by the current video capture device:

VideoFormat Fmt = ICImagingControl1.VideoFormats[0]; ICImagingControl1.VideoFormat = Fmt.Name;
See also: ICImagingControl, ICImagingControl.VideoFormats, VideoFormats

<< ICImagingControl