VideoSizeIndex
Delphi
function VideoSizeIndex (Value: string): LongInt;
C++Builder
System::LongInt __fastcall VideoSizeIndex(System::UnicodeString Value);
C#
public int VideoSizeIndex(string Value);
VB.NET
Public Function VideoSizeIndex(Value As String) As Integer
C++/Qt
int VideoSizeIndex (wchar_t *Value);
Returns the index of a given video size in the VideoSizes list. The function accepts wildcards, e.g.:
VideoGrabber1.VideoSize := VideoGrabber1.VideoSizeIndex ('720x576'); // selects the "720x576" video size.
VideoGrabber1.VideoSize := VideoGrabber1.VideoSizeIndex ('720x*'); // selects the 1st video size that begins with "720x".
VideoGrabber1.VideoSize := VideoGrabber1.VideoSizeIndex ('*720x*'); // selects the 1st video size that contains "720x".