Series.ShadowColor 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
계열의 그림자 색을 가져오거나 설정합니다.
public:
property System::Drawing::Color ShadowColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Drawing.Color ShadowColor { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.ShadowColor : System.Drawing.Color with get, set
Public Property ShadowColor As Color
속성 값
- 특성
예제
' Set series shadow color and offset
Public Sub SetSeriesShadow()
Chart1.Series("Default"}.ShadowColor = Color.Blue
Chart1.Series("Default"}.ShadowOffset = 2
End Sub 'SetSeriesShadow
// Set series shadow color and offset
public void SetSeriesShadow()
{
Chart1.Series("Default"}.ShadowColor = Color.Blue;
Chart1.Series["Default"].ShadowOffset = 2;
}
설명
유효한 ARGB(알파, 빨강, 녹색, 파랑) 값에 해당하는 계열의 그림자 색을 가져오거나 설정합니다.
알파 값을 사용하여 사실적인 그림자 효과를 얻을 수 있습니다. 그림자에 색 값 "128,0,0,0"을 사용해 보세요.
그림자를 구현하려면 속성을 0이 아닌 값으로 설정합니다 ShadowOffset .