IDWriteGdiInterop1::GetMatchingFontsByLOGFONT method
Gets a list of matching fonts based on the specified LOGFONT values. Only fonts of that family name will be returned.
Syntax
HRESULT GetMatchingFontsByLOGFONT( [in] LOGFONT logFont, [in] IDWriteFontSet *fontSet, [out] IDWriteFontSet **filteredSet );
Parameters
- logFont [in]
-
Type: LOGFONT
Structure containing a GDI-compatible font description.
- fontSet [in]
-
Type: IDWriteFontSet*
The font set to search.
- filteredSet [out]
-
Type: IDWriteFontSet**
>Receives the filtered font set if successful.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Header |
|
|---|---|
|
Library |
|
|
DLL |
|
See also
Show: