GetVideoSizeFromIndex
TVideoGrabber.GetVideoSizeFromIndex |
||||
|
|
|
Retrieves the width and height of a video size in the VideoSizes list.
Declaration
function GetVideoSizeFromIndex(VideoSizeIndex: LongInt; out VideoWidth: LongInt; out VideoHeight: LongInt): Boolean;
bool __fastcall GetVideoSizeFromIndex(int VideoSizeIndex, int &VideoWidth, int &VideoHeight)
Function GetVideoSizeFromIndex(VideoSizeIndex As Long, Video_Width, Video_Height) As Boolean
Description
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.
See Also
GetNearestVideoHeight GetNearestVideoSize GetNearestVideoWidth GetVideoHeightFromIndex GetVideoWidthFromIndex UseNearestVideoSize VideoFormat VideoFormatIndex VideoSize VideoSizeIndex VideoSizes VideoSizesCount
Created with the Personal Edition of HelpNDoc: Easily create PDF Help documents