VideoFormat
Delphi
property VideoFormat: LongInt read GetVideoFormat write SetVideoFormat default DEF_StoredValueDefaults;
C++Builder
__property System::LongInt VideoFormat = {read=GetVideoFormat, write=SetVideoFormat, default=-1};
C#
public int VideoFormat { get; set; }
VB.NET
Public Property VideoFormat As Integer
C++/Qt
int GetVideoFormat ();
void SetVideoFormat (int Value);
Used to select a video format in the VideoFormats list
See Video Sizes
Important:
The current video size index is not the same from a video capture device to the other. It is reloaded when the video capture device is selected by assigning the VideoDevice property.
-
any control displaying this value should re-read it from the OnVideoDeviceSelected event (that occurs when the video device is selected)
-
be sure that the video capture device has been selected (by assigning the VideoDevice property) before setting this property