ComponentOne Bitmap for WPF
GetFirstMatchingFont Method

C1.WPF.DX.4 Assembly > C1.Util.DX.DirectWrite Namespace > FontFamily Class : GetFirstMatchingFont Method
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

Reference

FontFamily Class
FontFamily Members