Ozeki VoIP SDK Class library
GetClosest Method (res1, res2)
NamespacesOzeki.Media.VideoResolutionGetClosest(Resolution, Resolution)
Compare two input resolution to this, and returns the Resolution which has closer pixel number.
Declaration Syntax
C#Visual BasicVisual C++
public Resolution GetClosest(
	Resolution res1,
	Resolution res2
)
Public Function GetClosest ( 
	res1 As Resolution,
	res2 As Resolution
) As Resolution
public:
Resolution^ GetClosest(
	Resolution^ res1, 
	Resolution^ res2
)
Parameters
res1 (Resolution)
First resolution to compare to this Resolution.
res2 (Resolution)
Second resolution to compare to this Resolution.
Return Value
Resolution
Resolution which is closest to this Resolution. Returns null on equality.

Assembly: VoIPSDK (Module: VoIPSDK.dll) Version: 11.2.4.290