UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:dwrite.IDWriteFactory.CreateFontFace |
IDWriteFactory::CreateFontFace (dwrite.h) |
Creates an object that represents a font face. |
|
directwrite\IDWriteFactory_CreateFontFace.htm |
DirectWrite |
bb3cd53f-a2cf-472c-aee9-88ac553f0ed0 |
12/05/2018 |
CreateFontFace, CreateFontFace method [Direct Write], CreateFontFace method [Direct Write],IDWriteFactory interface, IDWriteFactory interface [Direct Write],CreateFontFace method, IDWriteFactory.CreateFontFace, IDWriteFactory::CreateFontFace, directwrite.IDWriteFactory_CreateFontFace, dwrite/IDWriteFactory::CreateFontFace |
dwrite.h |
Windows |
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps \| UWP apps] |
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps \| UWP apps] |
Dwrite.lib |
Dwrite.dll |
Windows |
19H1 |
|
|
|
|
|
|
Creates an object that represents a font face.
Type: DWRITE_FONT_FACE_TYPE
A value that indicates the type of file format of the font face.
Type: UINT32
The number of font files, in element count, required to represent the font face.
Type: const IDWriteFontFile*
A font file object representing the font face. Because IDWriteFontFace maintains its own references to the input font file objects, you may release them after this call.
Type: UINT32
The zero-based index of a font face, in cases when the font files contain a collection of font faces. If the font files contain a single face, this value should be zero.
Type: DWRITE_FONT_SIMULATIONS
A value that indicates which, if any, font face simulation flags for algorithmic means of making text bold or italic are applied to the current font face.
Type: IDWriteFontFace**
When this method returns, contains an address of a pointer to the newly created font face object, or NULL in case of failure.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.