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 至 物件,並從 的 Chart 物件中移除 NamedImage 物件 NamedImagesCollection 。 這個集合屬性只能在執行時間使用。

影像 -也就是衍生自 類型 Image 的物件,例如 Bitmap 動態建立的物件,可以儲存在此集合中,然後稍後指派給任何影像相關 Chart 屬性,例如 BackImage

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

適用於