Nota
L-aċċess għal din il-paġna jeħtieġ l-awtorizzazzjoni. Tista’ tipprova tidħol jew tibdel id-direttorji.
L-aċċess għal din il-paġna jeħtieġ l-awtorizzazzjoni. Tista’ tipprova tibdel id-direttorji.
Gets the index of the matching font face reference in the font set, with the same file, face index, and simulations.
Syntax
HRESULT FindFontFaceReference(
IDWriteFontFaceReference *fontFaceReference,
[out] UINT32 *listIndex,
[out] BOOL *exists
);
Parameters
fontFaceReference
Type: IDWriteFontFaceReference*
Font face object that specifies the physical font.
[out] listIndex
Type: UINT32*
Receives the zero-based index of the matching font if the font was found, or UINT_MAX otherwise.
[out] exists
Type: BOOL*
Receives TRUE if the font exists or FALSE otherwise.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10 [desktop apps only] |
| Minimum supported server | Windows Server 2016 [desktop apps only] |
| Target Platform | Windows |
| Header | dwrite_3.h |
| Library | Dwrite.lib |
| DLL | Dwrite.dll |