In This Topic
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)
Syntax
'Declaration
Public Function CreateTextFormat( _
ByVal As System.String, _
ByVal As FontCollection, _
ByVal As FontWeight, _
ByVal As FontStyle, _
ByVal As FontStretch, _
ByVal As System.Single, _
ByVal As System.String _
) As TextFormat
public TextFormat CreateTextFormat(
System.string ,
FontCollection ,
FontWeight ,
FontStyle ,
FontStretch ,
System.float ,
System.string
)
Parameters
- fontFamilyName
- fontCollection
- fontWeight
- fontStyle
- fontStretch
- fontSize
- localeName
See Also