Skip to content

Latest commit

 

History

History
89 lines (67 loc) · 3.68 KB

nf-dwrite_3-idwritefactory3-createfontfacereference(idwritefontfile_uint32_dwrite_font_simulations_idwritefontfacereference).md

File metadata and controls

89 lines (67 loc) · 3.68 KB
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_3.IDWriteFactory3.CreateFontFaceReference(IDWriteFontFile,UINT32,DWRITE_FONT_SIMULATIONS,IDWriteFontFaceReference)
IDWriteFactory3::CreateFontFaceReference(IDWriteFontFile,UINT32,DWRITE_FONT_SIMULATIONS,IDWriteFontFaceReference) (dwrite_3.h)
Creates a reference to a font given a full path. (overload 1/2)
CreateFontFaceReference
CreateFontFaceReference method [Direct Write]
CreateFontFaceReference method [Direct Write]
IDWriteFactory3 interface
IDWriteFactory3 interface [Direct Write]
CreateFontFaceReference method
IDWriteFactory3.CreateFontFaceReference
IDWriteFactory3.CreateFontFaceReference(IDWriteFontFile
UINT32
DWRITE_FONT_SIMULATIONS
IDWriteFontFaceReference)
IDWriteFactory3::CreateFontFaceReference
IDWriteFactory3::CreateFontFaceReference(IDWriteFontFile
UINT32
DWRITE_FONT_SIMULATIONS
IDWriteFontFaceReference)
directwrite.idwritefactory3_createfontfacereference
dwrite_3/IDWriteFactory3::CreateFontFaceReference
directwrite\idwritefactory3_createfontfacereference.htm
DirectWrite
3ae2150b-af56-65f5-fe38-7ecea16cf0b8
12/05/2018
CreateFontFaceReference, CreateFontFaceReference method [Direct Write], CreateFontFaceReference method [Direct Write],IDWriteFactory3 interface, IDWriteFactory3 interface [Direct Write],CreateFontFaceReference method, IDWriteFactory3.CreateFontFaceReference, IDWriteFactory3.CreateFontFaceReference(IDWriteFontFile,UINT32,DWRITE_FONT_SIMULATIONS,IDWriteFontFaceReference), IDWriteFactory3::CreateFontFaceReference, IDWriteFactory3::CreateFontFaceReference(IDWriteFontFile,UINT32,DWRITE_FONT_SIMULATIONS,IDWriteFontFaceReference), directwrite.idwritefactory3_createfontfacereference, dwrite_3/IDWriteFactory3::CreateFontFaceReference
dwrite_3.h
Windows
Windows 10 [desktop apps only]
Windows Server 2016 [desktop apps only]
Dwrite.lib
Dwrite.dll
Windows
19H1
IDWriteFactory3::CreateFontFaceReference
dwrite_3/IDWriteFactory3::CreateFontFaceReference
c++
APIRef
kbSyntax
COM
dwrite.dll
IDWriteFactory3.CreateFontFaceReference

IDWriteFactory3::CreateFontFaceReference(IDWriteFontFile,UINT32,DWRITE_FONT_SIMULATIONS,IDWriteFontFaceReference)

-description

Creates a reference to a font given an IDWriteFontFile.

-parameters

-param fontFile

An IDWriteFontFile representing the font face.

-param faceIndex

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.

-param fontSimulations

Type: DWRITE_FONT_SIMULATIONS

Font face simulation flags for algorithmic emboldening and italicization.

-param fontFaceReference [out]

Type: IDWriteFontFaceReference**

Contains newly created font face reference object, or nullptr in case of failure.

-returns

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-see-also

IDWriteFactory3