IDWriteFontResource::GetFontAxisAttributes method (dwrite_3.h)

Retrieves attributes describing the given axis, such as whether the font author recommends to hide the axis in user interfaces.

Syntax

DWRITE_FONT_AXIS_ATTRIBUTES GetFontAxisAttributes(
  UINT32 axisIndex
);

Parameters

axisIndex

Type: UINT32

Font axis, from 0 to GetFontAxisCount minus 1.

Return value

Type: DWRITE_FONT_AXIS_ATTRIBUTES

The attributes for the given axis, or DWRITE_FONT_AXIS_ATTRIBUTES_NONE if axisIndex is beyond the font count.

Requirements

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