Initializes a new instance of the
RenderText class, assigning the
RenderText.Text property and style.
シンタックス
'宣言
Public Function New( _
ByVal As System.String, _
ByVal As Style _
)
'使用法
Dim text As System.String
Dim style As Style
Dim instance As New RenderText(text, style)
public RenderText(
System.string ,
Style
)
パラメータ
- text
- A string assigned to the RenderText.Text property.
- style
- A Style to use (the Style.AssignNonInheritedFrom method is used to copy the specified style to the current object's RenderObject.Style).
参照