TVideoGrabber.GetNearestVideoHeight

Prev

Next

TVideoGrabber

Methods

 




































































































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


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


int __fastcall GetNearestVideoHeight(int PreferredVideoWidth, int PreferredVideoHeight)


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

Description

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


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