共用方式為


LegendItem.Image 屬性

定義

取得或設定要顯示為圖例項目符號的影像。

public:
 property System::String ^ Image { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public string Image { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.Image : string with get, set
Public Property Image As String

屬性值

string 值,表示影像檔案的 URL。 預設值為空字串。

屬性

備註

這個屬性會決定要用於符號的 LegendItem 影像檔。

路徑可以是絕對或相對 URL。

如果您設定背景影像,則不論屬性設定為何 ImageStyle ,都會顯示該影像。

BackImageTransparentColor設定 屬性,讓影像所使用的一種色彩顯示為透明。

注意

這個屬性僅適用于 LegendCell 具有 或 ImageSeriesSymbol 物件 LegendCellType

適用於