IDWriteFactory6::CreateFontSetBuilder method (dwrite_3.h)
Creates an empty font set builder, ready to add font instances to, and create a custom font set.
Syntax
HRESULT CreateFontSetBuilder(
IDWriteFontSetBuilder2 **fontSetBuilder
);
Parameters
fontSetBuilder
Type: IDWriteFontSetBuilder2**
The address of a pointer to an IDWriteFontSetBuilder2 interface. On successful completion, the function sets the pointer to a newly created font set builder object, otherwise it sets the pointer to nullptr
.
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 20348 |
Minimum supported server | Windows 10 Build 20348 |
Target Platform | Windows |
Header | dwrite_3.h |
Library | Dwrite.lib |