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.
Creates a font set from all the font face references added so far with AddFontFaceReference.
Syntax
HRESULT CreateFontSet(
[out] IDWriteFontSet **fontSet
);
Parameters
[out] fontSet
Type: IDWriteFontSet**
Contains the newly created font set object, or nullptr in case of failure.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Creating a font set takes less time if the references were added with metadata rather than needing to extract the metadata from the font file.
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 |