IDWriteFontFaceReference::GetFontFaceIndex method (dwrite_3.h)

Obtains the zero-based index of the font face in its font file or files. If the font files contain a single face,
the return value is zero.

Syntax

UINT32 GetFontFaceIndex();

Return value

Type: UINT32

the zero-based index of the font face in its font file or files. If the font files contain a single face,
the return value is zero.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header dwrite_3.h
Library Dwrite.lib
DLL Dwrite.dll

See also

IDWriteFontFaceReference