TVideoGrabber.VideoSizes

Prev

Next

TVideoGrabber

Properties

 




































































































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


Declaration
property VideoSizes: string read GetVideoSizes;


__property wchar_t *VideoSizes=read=GetVideoSizes


Property VideoSizes As String

Description

Used to retrieve 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.


See Also
GetNearestVideoHeight GetNearestVideoSize GetNearestVideoWidth GetVideoHeightFromIndex GetVideoSizeFromIndex GetVideoWidthFromIndex UseNearestVideoSize VideoFormat VideoFormatIndex VideoSize VideoSizeIndex VideoSizesCount