Rediger

Del via


Series.ShadowOffset Property

Definition

Gets or sets the shadow offset, in pixels, of a series.

public:
 property int ShadowOffset { int get(); void set(int value); };
[System.ComponentModel.Bindable(true)]
public int ShadowOffset { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.ShadowOffset : int with get, set
Public Property ShadowOffset As Integer

Property Value

An integer value that represents the shadow offset of the series, in pixels.

Attributes

Examples

The following code example sets the visual attributes of a series.

' Set series shadow offset  
Public Sub SetSeriesShadowOffset()  
    Chart1.Series("Default"}.ShadowOffset = 2  
End Sub 'SetSeriesVisualAttributes  
// Set series shadow offset   
public void SetSeriesShadowOffset ()  
{      
    Chart1.Series["Default"].ShadowOffset = 2;  
}  

Remarks

To implement shadowing, use a value other than zero (0). A positive value will result in a shadow that shifts down and to the right. A negative value will result in a shadow that shifts up and to the left.

Applies to