LegendItem.ImageStyle 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定圖例項目影像的顯示樣式。
public:
property System::Web::UI::DataVisualization::Charting::LegendImageStyle ImageStyle { System::Web::UI::DataVisualization::Charting::LegendImageStyle get(); void set(System::Web::UI::DataVisualization::Charting::LegendImageStyle value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Web.UI.DataVisualization.Charting.LegendImageStyle ImageStyle { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.ImageStyle : System.Web.UI.DataVisualization.Charting.LegendImageStyle with get, set
Public Property ImageStyle As LegendImageStyle
屬性值
LegendImageStyle 列舉值。
- 屬性
備註
這些樣式會決定專案的對應符號如何顯示。
樣式 Line 可以與 Marker 樣式結合。 若要完成這項作業,請先將 ImageStyle 屬性設定為 Line 。 MarkerImage然後使用 屬性來指定標記影像,或 MarkerStyle 指定標記樣式的屬性。 產生的符號將會是線條和影像或標記的組合。
注意
這個屬性僅適用于 LegendCell 具有 或 Image 的 SeriesSymbol 物件 LegendCellType 。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應