Group: GDI+ Font - Library: gdiplus
GpStatus WINGDIPAPI GdipCreateFontFamilyFromName(
GDIPCONST WCHAR *name,
GpFontCollection *fontCollection,
GpFontFamily **FontFamily
)
DECLARE INTEGER GdipCreateFontFamilyFromName IN gdiplus;
STRING familyname,;
INTEGER fontCollection,;
INTEGER @ FontFamily
familyname [in] Name of the font family.
fontCollection [in] Optional. FontCollection handle that specifies the collection that the font family belongs to.
FontFamily [out] Handle to the FontFamily object.
Returns 0 on success.
When you no longer need the FontFamily handle, call the GdipDeleteFontFamily function.