ImageType Property

Chart.ImageType Property

.NET Framework 4.6 and 4.5

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, :System.Web.UI.DataVisualization.Charting.ChartImageType.Emf, Jpeg, and Png.

.NET Framework
Available since 4.0
Return to top
© 2015 Microsoft