Chart.BackImage 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定控制的背景影像 Chart 。
public:
property System::String ^ BackImage { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public string BackImage { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.BackImage : string with get, set
Public Property BackImage As String
屬性值
一個 string 代表影像檔案 URL 的值。 預設值為空白字串。
- 屬性
備註
此屬性定義了圖例背景影像 Chart 的路徑,且可為絕對或相對 URL。
要定位圖片,請使用與BackImageWrapMode屬性。BackImageAlignment
你也可以透過設定 BackImageTransparentColor 屬性,將圖片中顯示的顏色指定為「透明」。
影像可來自任何 .NET Framework 支援的有效圖形檔案,包括圖示。
背景影像優先於其他背景屬性,如漸層色彩。