TVideoGrabber.VideoSize

Prev

Next

TVideoGrabber

Properties

 




































































































Selects a video size.


Declaration
property VideoSize: LongInt read GetVideoSize write SetVideoSize;


__property int VideoSize=read=GetVideoSize, write=SetVideoSize, nodefault


Property VideoSize As Long

Description

Used to select a video size in the VideoSizes list.
See VideoSizes .

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

See device-dependent properties


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