.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > Label Class > Label Constructor : Label Constructor(String,Font)
Text of this label.
Font of this label.
Label Constructor(String,Font)
Initializes a new instance of the Label class with text, and a font.
Syntax
'Declaration
 
Public Function New( _
   ByVal text As String, _
   ByVal font As Font _
)
'Usage
 
Dim text As String
Dim font As Font
 
Dim instance As New Label(text, font)
public Label( 
   string text,
   Font font
)

Parameters

text
Text of this label.
font
Font of this label.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also