Skip to content

VideoSizeIndex

function

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);

Used to retrieve the index of a given audio intput in the VideoSizes list. The function accepts wild chars. E.g.: VideoGrabber1.Videosize := VideosizeIndex ('720x576'); // selects the "720x576" video size. VideoGrabber1.Videosize := VideosizeIndex ('720x'); // selects the 1st video size that begins with "720x". VideoGrabber1.Videosize := VideosizeIndex ('720x'); // selects the 1st video size that contains "720x".