ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.DirectWrite Namespace / FontFamily Class / GetFirstMatchingFont Method

In This Topic
    GetFirstMatchingFont Method
    In This Topic
    HRESULT IDWriteFontFamily::GetFirstMatchingFont([In] DWRITE_FONT_WEIGHT weight,[In] DWRITE_FONT_STRETCH stretch,[In] DWRITE_FONT_STYLE style,[Out] IDWriteFont** matchingFont)
    Syntax
    'Declaration
     
    Public Function GetFirstMatchingFont( _
       ByVal weight As FontWeight, _
       ByVal stretch As FontStretch, _
       ByVal style As FontStyle _
    ) As Font
    public Font GetFirstMatchingFont( 
       FontWeight weight,
       FontStretch stretch,
       FontStyle style
    )

    Parameters

    weight
    stretch
    style
    See Also