GetVideoWidthFromIndex
TVideoGrabber.GetVideoWidthFromIndex |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Retrieves the width of a video size in the VideoSizes list.
Declaration
function GetVideoWidthFromIndex(VideoSizeIndex: LongInt): LongInt;
int __fastcall GetVideoWidthFromIndex(int VideoSizeIndex)
Function GetVideoWidthFromIndex(VideoSizeIndex As Long) As Long
Description
Used to retrieve the width 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.
Returns 0 is VideoSizeIndex is out of the 0..VideoSizesCount - 1 range.
See Also
GetNearestVideoHeight GetNearestVideoSize GetNearestVideoWidth GetVideoHeightFromIndex GetVideoSizeFromIndex UseNearestVideoSize VideoFormat VideoFormatIndex VideoSize VideoSizeIndex VideoSizes VideoSizesCount