TVideoGrabber.GetNearestVideoSize

Prev

Next

TVideoGrabber

Methods

 




































































































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


Declaration
procedure GetNearestVideoSize(PreferredVideoWidth: LongInt; PreferredVideoHeight: LongInt; out NearestVideoWidth: LongInt; out NearestVideoHeight: LongInt);


void __fastcall GetNearestVideoSize(int PreferredVideoWidth, int PreferredVideoHeight, int &NearestVideoWidth, int &NearestVideoHeight)


Sub GetNearestVideoSize(PreferredVideoWidth As Long, PreferredVideoHeight As Long, Nearest_VideoWidth, Nearest_VideoHeight)

Description

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


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