Images Property

Chart.Images Property

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)

public NamedImagesCollection Images { get; }

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

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

© 2016 Microsoft