Skip to content

GetVideoSizeFromIndex

function

Delphi
function GetVideoSizeFromIndex (SizeIndex: LongInt; out _VideoWidth: LongInt; out _VideoHeight: LongInt): Boolean;
C++Builder
bool __fastcall GetVideoSizeFromIndex(System::LongInt SizeIndex, /* out */ System::LongInt &_VideoWidth, /* out */ System::LongInt &_VideoHeight);
C#
public bool GetVideoSizeFromIndex(int SizeIndex, out int _VideoWidth, out int _VideoHeight);
VB.NET
Public Function GetVideoSizeFromIndex(SizeIndex As Integer, ByRef _VideoWidth As Integer, ByRef _VideoHeight As Integer) As Boolean
C++/Qt
BOOL GetVideoSizeFromIndex (int SizeIndex, int *_VideoWidth, int *_VideoHeight);

Retrieves the width and height of a video size in the VideoSizes list of the current video capture device.

The SizeIndex parameter is the index of the size in the VideoSizes list.

The width and height are returned in the _VideoWidth and _VideoHeight parameters (Video_Width and Video_Height in the ActiveX version).

Returns false if SizeIndex is out of the 0..VideoSizesCount - 1 range.