FontFamily::FontFamily(constWCHAR*,constFontCollection*)-Methode (gdiplusheaders.h)

Erstellt ein FontFamily::FontFamily-Objekt basierend auf einer angegebenen Schriftartfamilie.

Syntax

void FontFamily(
  [in] const WCHAR          *name,
  [in] const FontCollection *fontCollection
);

Parameter

[in] name

Typ: const WCHAR*

Name der Schriftfamilie. Arial.ttf ist beispielsweise der Name der Arial-Schriftfamilie.

[in] fontCollection

Typ: const FontCollection*

Optional. Zeiger auf ein FontCollection-Objekt , das die Auflistung angibt, zu der die Schriftfamilie gehört. Wenn FontCollectionNULL ist, ist diese Schriftfamilie nicht Teil einer Sammlung. Der Standardwert ist NULL.

Rückgabewert

Keine

Anforderungen

   
Unterstützte Mindestversion (Client) Windows XP, Windows 2000 Professional [nur Desktop-Apps]
Unterstützte Mindestversion (Server) Windows 2000 Server [nur Desktop-Apps]
Zielplattform Windows
Kopfzeile gdiplusheaders.h (include Gdiplus.h)
Bibliothek Gdiplus.lib
DLL Gdiplus.dll

Weitere Informationen

FontFamily

Installedfontcollection

Privatefontcollection

Verwenden von Text und Schriftarten