Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Standard.v4.4 Assembly / Xceed.Chart.Standard Namespace / FillEffect Class / Emissive Property
Example


In This Topic
    Emissive Property
    In This Topic
    The emissive color of the FillEffectBase.
    Syntax
    'Declaration
     
    Public Property Emissive As Color
    'Usage
     
    Dim instance As FillEffect
    Dim value As Color
     
    instance.Emissive = value
     
    value = instance.Emissive
    public Color Emissive {get; set;}
    Remarks
    This property specifies the diffuse light the object emits as if it was a light source also. You'll rarely need to modify this property, but it can be particularly useful for darks scenes where you want to highlight certain objects.
    Example
    The following example sets the emmisive color of the white chart wall to White. As a result the wall appearance will not change when you use lighting.
    Dim chart As Chart = CType((ChartControl.Charts(0)), Chart)
    Dim fillEffect As FillEffectBase =  chart.Wall(ChartWallType.Left).FillEffect 
    fillEffect.SetSolidColor(Color.White)
    fillEffect.Emmisive = Color.White
    Chart chart = (Chart)(ChartControl.Charts[0]);
    FillEffectBase fillEffect = chart.Wall(ChartWallType.Left).FillEffect;
    fillEffect.SetSolidColor(Color.White);
    fillEffect.Emmisive = Color.White;
    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