Edytuj

Udostępnij za pośrednictwem


Chart.Images Property

Definition

Gets a NamedImagesCollection object that stores NamedImage objects for the chart.

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

Property Value

A NamedImagesCollection object that contains the collection of NamedImage objects.

Attributes

Remarks

Use this property to add NamedImage objects to and remove NamedImage objects from the NamedImagesCollection object of the Chart. This collection property is available at run time only.

An image - that is, an object derived from type Image, such as Bitmap, that is created dynamically - can be stored in this collection, and then assigned at a later time to any image-related Chart property, such as BackImage.

When you assign a NamedImage object to an image-related property in the Chart class, use the name of the NamedImage object for the string value of the image-related property.

Applies to