TVideoGrabber.VideoSubtypeIndex

Prev

Next

TVideoGrabber

Methods

 




































































































Returns the index of a given audio intput in the VideoSubtypes list.


Declaration
function VideoSubtypeIndex(Value: String): LongInt;


int __fastcall VideoSubtypeIndex(wchar_t *Value)


Function VideoSubtypeIndex(param1 As String) As Long

Description

Used to retrieve the index of a given audio intput in the VideoSubtypes list.

The function accepts wild chars. E.g.:

VideoGrabber1.VideoSubtype := VideoSubtypeIndex ('RGB24');   // selects the "RGB24" video subtype.
VideoGrabber1.VideoSubtype := VideoSubtypeIndex ('RGB*');    // selects the 1st video subtype that begins with "RGB".
VideoGrabber1.VideoSubtype := VideoSubtypeIndex ('*RGB*');   // selects the 1st video subtype that contains "RGB".


See Also
VideoSubtype VideoSubtypes VideoSubtypesCount