ChartDirector 6.2 (.NET Edition)



[C#] public ChartDirector.TextBox setLabelStyle([ string font [, double fontSize [, int fontColor ]]]);
[VB] Public Function setLabelStyle([ font As String [, fontSize As Double [, fontColor As Integer ]]]) As ChartDirector.TextBox


Sets the style used to draw all sector labels.

This method affects all sectors. To set the label style for one particular sector only, use Sector.setLabelStyle.

See Font Specification for details on various font attributes.


font""The font used to draw the sector labels.
fontSize8The font size in points.
fontColorTextColorThe text color for the sector labels.

Return Value

A TextBox object representing the prototype of the sector labels. This may be used to fine-tune the appearance of the sector labels.