IDWriteFontResource::GetFontFaceIndex method (dwrite_3.h)

Retrieves the zero-based index of the font face within its font file. If the font file contains a single face, then the return value is zero.

Syntax

UINT32 GetFontFaceIndex();

Return value

Type: UINT32

The zero-based index of the font face within its font file.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Target Platform Windows
Header dwrite_3.h
Library Dwrite.lib