VideoFormats
property, read-only
Delphi
property VideoFormats: string read GetVideoFormats;
C++Builder
__property System::UnicodeString VideoFormats = {read=GetVideoFormats};
C#
public string VideoFormats { get; }
VB.NET
Public ReadOnly Property VideoFormats As String
C++/Qt
wchar_t *GetVideoFormats ();
Retrieves 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 one video capture device to another, 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.