TVideoGrabber.VideoFormats

Prev

Next

TVideoGrabber

Properties

 




































































































List of the video formats available on the current video capture device


Declaration
property VideoFormats: string read GetVideoFormats;


__property wchar_t *VideoFormats==GetVideoFormats;


Property VideoFormats as String

Description

Used to retrieve a string that contains the list of the video formats available on the current video capture device.
This list is updated when the OnVideoDeviceSelected event occurs (when a video capture device is selected with VideoDevice ).
This list can be assigned to list based controls. E.g.:
ComboBox1.Items.Text := VideoGrabber1.VideoFormats;
ComboBox1.ItemIndex := VideoGrabber1.VideoFormat;
Note: as the video formats list is not the same from a video capture device to the other, any code using this value should re-read it from the OnVideoDeviceSelected event (when a video capture device is selected).

See the Video sizes chapter for more information.