[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.Factory.CreateTextFormat

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)
Parameters
Type Name Description
string fontFamilyName
FontCollection fontCollection
FontWeight fontWeight
FontStyle fontStyle
FontStretch fontStretch
float fontSize
string localeName
Returns
Type Description
TextFormat