Xceed Chart for WinForms v4.4 Documentation
FillEffect Property (ChartText)
Example 


Xceed.Chart.Standard.v4.4 Assembly > Xceed.Chart.Standard Namespace > ChartText Class : FillEffect Property
Controls the fill effect applied on the text.
Syntax
'Declaration
 
<CategoryAttribute("Appearance")>
<DescriptionAttribute("Controls the color of the text.")>
Public Property FillEffect As FillEffect
'Usage
 
Dim instance As ChartText
Dim value As FillEffect
 
instance.FillEffect = value
 
value = instance.FillEffect
[Category("Appearance")]
[Description("Controls the color of the text.")]
public FillEffect FillEffect {get; set;}
Remarks
You may also render texts with different fill effects if TextType is set to TextType.Formatted.
Example
The following example creates a new label with different color and font than the default ones.
Dim label As ChartLabel =  New ChartLabel() 
label.Text = "Label with different color \n and font"
label.TextType = TextType.Multiline
label.TextProps.FillEffect.SetSolidColor(Color.Aqua)
label.TextProps.Font = New Font("Arial", 22)
ChartControl.Labels.Add(label)
ChartLabel label = new ChartLabel();
label.Text = "Label with different color \n and font";
label.TextType = TextType.Multiline
label.TextProps.FillEffect.SetSolidColor(Color.Aqua);
label.TextProps.Font = new Font("Arial", 22);
ChartControl.Labels.Add(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

Reference

ChartText Class
ChartText Members