IDWriteFactory6::CreateTextFormat method (dwrite_3.h)

Syntax

HRESULT CreateTextFormat(
  WCHAR const                  *fontFamilyName,
  IDWriteFontCollection        *fontCollection,
  DWRITE_FONT_AXIS_VALUE const *fontAxisValues,
  UINT32                       fontAxisValueCount,
  FLOAT                        fontSize,
  WCHAR const                  *localeName,
  IDWriteTextFormat3           **textFormat
);

Parameters

fontFamilyName

fontCollection

fontAxisValues

fontAxisValueCount

fontSize

localeName

textFormat

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809 (with Windows App SDK 0.5 or later)
Header dwrite_3.h