点击或拖拽改变大小

DuiTextBoxStringToElement 方法 (String, Font, Color)

将文字转化为布局元素

命名空间:  DSkin.DirectUI
程序集:  DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法
C#
public ILayoutElement[] StringToElement(
	string text,
	Font font,
	Color color
)

参数

text
类型:SystemString

[缺少 "M:DSkin.DirectUI.DuiTextBox.StringToElement(System.String,System.Drawing.Font,System.Drawing.Color)" 的 <param name="text"/> 文档]

font
类型:System.DrawingFont

[缺少 "M:DSkin.DirectUI.DuiTextBox.StringToElement(System.String,System.Drawing.Font,System.Drawing.Color)" 的 <param name="font"/> 文档]

color
类型:System.DrawingColor

[缺少 "M:DSkin.DirectUI.DuiTextBox.StringToElement(System.String,System.Drawing.Font,System.Drawing.Color)" 的 <param name="color"/> 文档]

返回值

类型:ILayoutElement

[缺少 "M:DSkin.DirectUI.DuiTextBox.StringToElement(System.String,System.Drawing.Font,System.Drawing.Color)" 的 <returns> 文档]

参见