Compare two input resolution to this, and
returns the Resolution which has closer pixel number.

C# | Visual Basic | Visual 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 )

- res1 (Resolution)
- First resolution to compare to this Resolution.
- res2 (Resolution)
- Second resolution to compare to this Resolution.

Resolution
Resolution which is closest to this Resolution. Returns null on equality.
Resolution which is closest to this Resolution. Returns null on equality.
Assembly: VoIPSDK (Module: VoIPSDK.dll) Version: 11.2.4.290