TVideoGrabber.VideoInput

Prev

Next

TVideoGrabber

Properties

 




































































































Selects the video input.


Declaration
property VideoInput: LongInt read GetVideoInput write SetVideoInput;


__property int VideoInput=read=GetVideoInput, write=SetVideoInput, nodefault


Property VideoInput As Long

Description

Selects the video input.
This property is an index in the VideoInputs list, in the 0 ... VideoInputsCount - 1 range.

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 VideoInputs and device-dependent properties


See Also
Video inputs VideoInputIndex VideoInputs VideoInputsCount