This documentation is archived and is not being maintained.

NamedImage.Image Property

Gets or sets the image of a NamedImage object.

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

public Image Image { get; set; }

Property Value

Type: System.Drawing.Image
The image component of a NamedImage object. This can be any object derived from the .NET Framework Image class, for example, a Bitmap object.

The Image property determines which image is stored in a NamedImage object.

Use NamedImage objects for dynamically created images, which can then be assigned to a chart image 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.