VideoInputIndex
TVideoGrabber.VideoInputIndex |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns the index of a given audio input in the VideoInputs list.
Declaration
function VideoInputIndex(Value: String): LongInt;
int __fastcall VideoInputIndex(wchar_t *Value)
Function VideoInputIndex(param1 As String) As Long
Description
Used to retrieve the index of a given audio intput in the VideoInputs list.
The function accepts wild chars. E.g.:
VideoGrabber1.VideoInput := VideoInputIndex ('SVideo'); // selects the "SVideo" video input.
VideoGrabber1.VideoInput := VideoInputIndex ('SVideo*'); // selects the 1st video input that begins with "SVideo".
VideoGrabber1.VideoInput := VideoInputIndex ('*SVideo*'); // selects the 1st video input that contains "SVideo".
See Also
Video inputs VideoInput VideoInputs VideoInputsCount