Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
Retrieves the font file of the resource.
Syntax
HRESULT GetFontFile(
[out] IDWriteFontFile **fontFile
);
Parameters
[out] fontFile
Type: IDWriteFontFile**
The address of a pointer to an IDWriteFontFile interface. On successful completion, the function sets the pointer to the font file object.
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 |