Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Retrieves the list of font axis values specified by the reference.
Syntax
HRESULT GetFontAxisValues(
[out] DWRITE_FONT_AXIS_VALUE *fontAxisValues,
UINT32 fontAxisValueCount
);
Parameters
[out] fontAxisValues
Type: DWRITE_FONT_AXIS_VALUE*
A pointer to an array of DWRITE_FONT_AXIS_VALUE structures into which GetFontAxisValues writes the list of font axis values. You're responsible for managing the size and the lifetime of this array. Call GetFontAxisValueCount to determine the size of array to allocate.
fontAxisValueCount
Type: UINT32
The maximum number of font axis values to write into the memory block pointed to by fontAxisValues.
Remarks
Examples
Follow the same general pattern as shown in the code example for IDWriteFontFace5::GetFontAxisValues.
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 |