Description
Creates a FontFamily object based on a specified font family.
Syntax
GpStatus WINGDIPAPI
GdipCreateFontFamilyFromName(
GDIPCONST WCHAR
*name,
GpFontCollection *fontCollection,
GpFontFamily
**FontFamily
);
PowerBASIC Syntax
DECLARE FUNCTION GdipCreateFontFamilyFromName
( _
BYVAL pName AS
STRING, _
BYVAL
fontCollection AS DWORD, _
BYREF
fontFamily AS DWORD _
) AS LONG
Parameters
name
[in] Name of the font family. For example, Arial.ttf is the
name of the Arial font family.
fontCollection
[in] Pointer to a FontCollection object that specifies
the collection that the font family belongs to. If FontCollection is
NULL, this font family is not part of a collection. The default value is NULL.
FontFamily
[out] Pointer to a variable that receives a pointer to the new FontFamily
object.
|