IDWriteFontCollection::GetFontFamily Method

Creates a font family object given a zero-based font family index.

Syntax

virtual HRESULT GetFontFamily(
  UINT32  index,
  [out]  IDWriteFontFamily ** fontFamily
) = 0;

Parameter

  • index
    Zero-based index of the font family.

  • fontFamily [out]
    When this method returns, contains the address of a pointer to the newly created font family object.

Rückgabewert

Ist Methode erfolgreich, wird "S_OK" zurückgegeben. Andernfalls wird ein HRESULT-Fehlercode zurückgegeben.

Anforderungen

Mindestens unterstützter Client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista

Mindestens unterstützter Server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008

Header

Dwrite.h

Bibliothek

Dwrite.lib

DLL

Dwrite.dll

Siehe auch

IDWriteFontCollection