ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX.DXGI Namespace / Output Class / GetClosestMatchingMode Method

In This Topic
    GetClosestMatchingMode Method
    In This Topic
    Find the display mode that most closely matches the requested display mode.
    Syntax
    'Declaration
     
    Public Sub GetClosestMatchingMode( _
       ByVal device As ComObject, _
       ByVal modeToMatch As ModeDescription, _
       ByRef closestMatch As ModeDescription _
    ) 
    public void GetClosestMatchingMode( 
       ComObject device,
       ModeDescription modeToMatch,
       out ModeDescription closestMatch
    )

    Parameters

    device
    modeToMatch
    closestMatch
    See Also