[]
IDWriteFontFamily
[Guid("da20d8ef-812a-4c43-9802-62ec4abd7add")]
public class FontFamily : FontList, IDisposable, IUnknown
Initializes a new instance of the FontFamily class.
public FontFamily(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
HRESULT IDWriteFontFamily::GetFamilyNames([Out] IDWriteLocalizedStrings** names)
public LocalizedStrings GetFamilyNames()
HRESULT IDWriteFontFamily::GetFirstMatchingFont([In] DWRITE_FONT_WEIGHT weight,[In] DWRITE_FONT_STRETCH stretch,[In] DWRITE_FONT_STYLE style,[Out] IDWriteFont** matchingFont)
public Font GetFirstMatchingFont(FontWeight weight, FontStretch stretch, FontStyle style)
weight
FontWeightstretch
FontStretchstyle
FontStyleHRESULT IDWriteFontFamily::GetMatchingFonts([In] DWRITE_FONT_WEIGHT weight,[In] DWRITE_FONT_STRETCH stretch,[In] DWRITE_FONT_STYLE style,[Out] IDWriteFontList** matchingFonts)
public FontList GetMatchingFonts(FontWeight weight, FontStretch stretch, FontStyle style)
weight
FontWeightstretch
FontStretchstyle
FontStylePerforms an explicit conversion from System.IntPtr to FontFamily.
public static explicit operator FontFamily(IntPtr nativePointer)
nativePointer
System.IntPtr