CreateTextFormat Method
CreateTextFormat(string, FontCollection, FontWeight, FontStyle, FontStretch, float, string)
HRESULT IDWriteFactory::CreateTextFormat([In] const wchar_t* fontFamilyName,[In, Optional] IDWriteFontCollection* fontCollection,[In] DWRITE_FONT_WEIGHT fontWeight,[In] DWRITE_FONT_STYLE fontStyle,[In] DWRITE_FONT_STRETCH fontStretch,[In] float fontSize,[In] const wchar_t* localeName,[Out, Fast] IDWriteTextFormat** textFormat)
Declaration
public TextFormat CreateTextFormat(string fontFamilyName, FontCollection fontCollection, FontWeight fontWeight, FontStyle fontStyle, FontStretch fontStretch, float fontSize, string localeName)
Public Function CreateTextFormat(fontFamilyName As String, fontCollection As FontCollection, fontWeight As FontWeight, fontStyle As FontStyle, fontStretch As FontStretch, fontSize As Single, localeName As String) As TextFormat
Parameters
Returns