TVideoGrabber.GetNearestVideoWidth

Prev

Next

TVideoGrabber

Methods

 




































































































Retrieves the nearest video width to a given video width and height.


Declaration
function GetNearestVideoWidth(PreferredVideoWidth: LongInt; PreferredVideoHeight: LongInt): LongInt;


int __fastcall GetNearestVideoWidth(int PreferredVideoWidth, int PreferredVideoHeight)


Function GetNearestVideoWidth(PreferredVideoWidth As Long, PreferredVideoHeight As Long) As Long

Description

Retrieves the nearest video width to a given video width and height, available on the current video capture device .
Unlike UseNearestVideoSize , this function simply request the nearest width available for the specified size, without selecting it on the current video capture device .


See Also
GetNearestVideoHeight GetNearestVideoSize GetVideoHeightFromIndex GetVideoSizeFromIndex GetVideoWidthFromIndex UseNearestVideoSize VideoFormat VideoFormatIndex VideoSize VideoSizeIndex VideoSizes VideoSizesCount