ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 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