Skip to content

GetVideoSizeFromIndex

function

Delphi
function GetVideoSizeFromIndex (SizeIndex: LongInt; var Video_Width: OleVariant; var Video_Height: OleVariant): 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);

Used to retrieve the width and height of a video size in the VideoSizes list of the current video capture device .

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

The width and height are returned by the VideoWidth and VideoHeight parameters.

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