語言

Chart.Images 屬性

定義

會有一個 NamedImagesCollection 物件來儲存 NamedImage 圖表中的物件。

public:
 property System::Windows::Forms::DataVisualization::Charting::NamedImagesCollection ^ Images { System::Windows::Forms::DataVisualization::Charting::NamedImagesCollection ^ get(); };
[System.ComponentModel.Bindable(false)]
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.DataVisualization.Charting.NamedImagesCollection Images { get; }
[<System.ComponentModel.Bindable(false)>]
[<System.ComponentModel.Browsable(false)>]
member this.Images : System.Windows.Forms.DataVisualization.Charting.NamedImagesCollection
Public ReadOnly Property Images As NamedImagesCollection

屬性值

包含 NamedImagesCollection 所有 NamedImage 物件集合的物件。

屬性

備註

利用此屬性將物件加入NamedImage或移除NamedImage物件。NamedImagesCollectionChart 此收藏物業僅於運行時提供。

影像——即由型別 ImageBitmap衍生且動態產生的物件——可以儲存在此集合中,之後再指派給任何與影像相關的Chart屬性,例如 BackImage。

當你將物件指派 NamedImage 到類別中的 Chart 影像相關屬性時,請使用該物件名稱 NamedImage 作為 string 該影像相關屬性的值。

適用於