dotnetCHARTING Send comments on this topic.
Label Constructor(String,Font,Color)
See Also 
dotnetCHARTING Namespace > Label Class > Label Constructor : Label Constructor(String,Font,Color)


text
Text of this label.
font
Font of this label.
color
Color of this label.
Initializes a new instance of the Label class with text, font, and a color.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal text As String, _
   ByVal font As Font, _
   ByVal color As Color _
)
Visual Basic (Usage)Copy Code
Dim text As String
Dim font As Font
Dim color As Color
 
Dim instance As Label(text, font, color)
C# 
public Label( 
   string text,
   Font font,
   Color color
)

Parameters

text
Text of this label.
font
Font of this label.
color
Color of this label.

See Also