Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Retrieves the font face reference of a single item.
Syntax
HRESULT GetFontFaceReference(
UINT32 listIndex,
IDWriteFontFaceReference1 **fontFaceReference
);
Parameters
listIndex
Type: UINT32
Zero-based index of the font item in the set.
fontFaceReference
Type: IDWriteFontFaceReference1**
The address of a pointer to an IDWriteFontFaceReference1 interface. On successful completion, the function sets the pointer to the font face reference.
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 |