Bitmap for WPF
CreateTextFormat メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.DirectWrite 名前空間 > Factory クラス : CreateTextFormat メソッド
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)
シンタックス
'宣言
 
Public Function CreateTextFormat( _
   ByVal fontFamilyName As System.String, _
   ByVal fontCollection As FontCollection, _
   ByVal fontWeight As FontWeight, _
   ByVal fontStyle As FontStyle, _
   ByVal fontStretch As FontStretch, _
   ByVal fontSize As System.Single, _
   ByVal localeName As System.String _
) As TextFormat
public TextFormat CreateTextFormat( 
   System.string fontFamilyName,
   FontCollection fontCollection,
   FontWeight fontWeight,
   FontStyle fontStyle,
   FontStretch fontStretch,
   System.float fontSize,
   System.string localeName
)

パラメータ

fontFamilyName
fontCollection
fontWeight
fontStyle
fontStretch
fontSize
localeName
参照

Factory クラス
Factory メンバ