Bitmap for WPF
Create(Factory,String,TextFormat,Single,Single) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.DirectWrite 名前空間 > TextLayout クラス > Create メソッド : Create(Factory,String,TextFormat,Single,Single) メソッド
an instance of Factory
An array of characters that contains the string to create a new TextLayoutobject from. This array must be of length stringLength and can contain embedded NULL characters.
A pointer to an object that indicates the format to apply to the string.
The width of the layout box.
The height of the layout box.
Takes a string, text format, and associated constraints, and produces an object that represents the fully analyzed and formatted result.
シンタックス
'宣言
 
Public Overloads Shared Function Create( _
   ByVal factory As Factory, _
   ByVal text As System.String, _
   ByVal textFormat As TextFormat, _
   ByVal maxWidth As System.Single, _
   ByVal maxHeight As System.Single _
) As TextLayout
public static TextLayout Create( 
   Factory factory,
   System.string text,
   TextFormat textFormat,
   System.float maxWidth,
   System.float maxHeight
)

パラメータ

factory
an instance of Factory
text
An array of characters that contains the string to create a new TextLayoutobject from. This array must be of length stringLength and can contain embedded NULL characters.
textFormat
A pointer to an object that indicates the format to apply to the string.
maxWidth
The width of the layout box.
maxHeight
The height of the layout box.
参照

TextLayout クラス
TextLayout メンバ
オーバーロード一覧