Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets values for the font axes of the format.
Syntax
HRESULT SetFontAxisValues(
DWRITE_FONT_AXIS_VALUE const *fontAxisValues,
UINT32 fontAxisValueCount
);
Parameters
fontAxisValues
Type: DWRITE_FONT_AXIS_VALUE const *
A pointer to an array containing a list of font axis values. The array should be the size (the number of elements) indicated by the fontAxisValueCount argument.
fontAxisValueCount
Type: UINT32
The number of font axis values contained in the fontAxisValues array.
Return value
Type: HRESULT
If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
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 |