Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Chart.Images Property

.NET Framework 4.6 and 4.5

Gets a NamedImagesCollection object, which stores NamedImage objects for the chart.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

[BindableAttribute(false)]
[BrowsableAttribute(false)]
public NamedImagesCollection Images { get; }

Property Value

Type: System.Web.UI.DataVisualization.Charting.NamedImagesCollection
A NamedImagesCollection object, which stores NamedImage objects for the chart.

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.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft