TextStyle Property (NLabel)
Gets or sets the NTextStyle object applied to the label's text.
The following example creates a label and sets its font.
Dim label As NLabel = New NLabel()
label.Text = "Hello world"
label.TextStyle.FontStyle = New NFontStyle("Arial", 22)
nChartControl1.Labels.Add(label)
NLabel label = new NLabel();
label.Text = "Hello world";
label.TextStyle.FontStyle = new NFontStyle("Arial", 22);
nChartControl1.Labels.Add(label);
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