Skip to content

VideoSizes

property, read-only

Delphi
property VideoSizes: string read GetVideoSizes;
C++Builder
__property System::UnicodeString VideoSizes = {read=GetVideoSizes};
C#
public string VideoSizes { get; }
VB.NET
Public ReadOnly Property VideoSizes As String
C++/Qt
wchar_t *GetVideoSizes ();

Retrieves a string that contains the list of the video sizes 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.VideoSizes; ComboBox1.ItemIndex := VideoGrabber1.VideoSize; Note: as the video sizes 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.