Initializes a new instance of the
RenderText class, assigning the
RenderText.Text property, font and text alignment.
シンタックス
'宣言
Public Function New( _
ByVal As System.String, _
ByVal As System.Drawing.Font, _
ByVal As AlignHorzEnum _
)
'使用法
Dim text As System.String
Dim font As System.Drawing.Font
Dim horzAlign As AlignHorzEnum
Dim instance As New RenderText(text, font, horzAlign)
public RenderText(
System.string ,
System.Drawing.Font ,
AlignHorzEnum
)
パラメータ
- text
- A string assigned to the RenderText.Text property.
- font
- The font used to render the text.
- horzAlign
- The horizontal text alignment.
参照