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 As Factory, _
ByVal As System.String, _
ByVal As TextFormat, _
ByVal As System.Single, _
ByVal As System.Single _
) As TextLayout
public static TextLayout Create(
Factory ,
System.string ,
TextFormat ,
System.float ,
System.float
)
パラメータ
- 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.
参照