Skip to content

VideoSize

property

Delphi
property VideoSize: LongInt read GetVideoSize write SetVideoSize default DEF_StoredValueDefaults;
C++Builder
__property System::LongInt VideoSize = {read=GetVideoSize, write=SetVideoSize, default=-1};
C#
public int VideoSize { get; set; }
VB.NET
Public Property VideoSize As Integer
C++/Qt
int GetVideoSize ();
void SetVideoSize (int Value);

Selects a video size in the VideoSizes list.

Important: the current video size index differs from one video capture device to another. 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 (which occurs when the video device is selected).

  • Make sure that the video capture device has been selected (by assigning the VideoDevice property) before setting this property.

See device-dependent properties.