RenderText Constructor(String,Font,Color,AlignHorzEnum)
In This Topic
Initializes a new instance of the
RenderText class, assigning the
Text property, font, text color and alignment.
Syntax
'Declaration
Public Function New( _
ByVal As System.String, _
ByVal As System.Drawing.Font, _
ByVal As System.Drawing.Color, _
ByVal As AlignHorzEnum _
)
public RenderText(
System.string ,
System.Drawing.Font ,
System.Drawing.Color ,
AlignHorzEnum
)
Parameters
- text
- A string assigned to the Text property.
- font
- The font used to render the text.
- textColor
- The text color used to render the text.
- horzAlign
- The horizontal text alignment.
See Also