Chart.ImageType Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the type of image into which the chart is rendered if ImageTag rendering is used.

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

public ChartImageType ImageType { get; set; }

Property Value

Type: System.Web.UI.DataVisualization.Charting.ChartImageType

A ChartImageType enumeration value that specifies the type of image into which the chart is rendered. The default value is Jpeg.

This property determines the type of image file that is used for rendering.

Possible file formats are Bmp, Emf, Jpeg, and Png.

.NET Framework
Available since 4.0
Return to top