IDWriteFontFace5::HasVariations method (dwrite_3.h)

Determines whether this font face's resource supports any variable axes. When true, at least one DWRITE_FONT_AXIS_RANGE in the font resource has a non-empty range (maxValue > minValue).

Syntax

BOOL HasVariations();

Return value

Type: BOOL

true if the font face's resource supports any variable axes. Otherwise, false.

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

See also

DWRITE_FONT_AXIS_RANGE