[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.FontFamily.GetFirstMatchingFont

GetFirstMatchingFont Method

GetFirstMatchingFont(FontWeight, FontStretch, FontStyle)

HRESULT IDWriteFontFamily::GetFirstMatchingFont([In] DWRITE_FONT_WEIGHT weight,[In] DWRITE_FONT_STRETCH stretch,[In] DWRITE_FONT_STYLE style,[Out] IDWriteFont** matchingFont)

Declaration
public Font GetFirstMatchingFont(FontWeight weight, FontStretch stretch, FontStyle style)
Parameters
Type Name Description
FontWeight weight
FontStretch stretch
FontStyle style
Returns
Type Description
Font