IDWriteFontFaceReference::GetFontFaceIndex method

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();

Parameters

This method has no parameters.

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

Minimum supported client

Windows 10 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

Dwrite_3.h

Library

Dwrite.lib

DLL

Dwrite.dll

See also

IDWriteFontFaceReference

 

 

Show: