IDWriteFontSet1::GetFontLocality method (dwrite_3.h)

Retrieves the locality of a single item.

Syntax

DWRITE_LOCALITY GetFontLocality(
  UINT32 listIndex
);

Parameters

listIndex

Type: UINT32

Zero-based index of the font item in the set.

Return value

Type: DWRITE_LOCALITY

A value indicating the locality.

Remarks

The locality enumeration. For fully local files, the result will always be DWRITE_LOCALITY_LOCAL. For downloadable files, the result depends on how much of the file has been downloaded.

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