Chart.ImageType Property

Definition

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

C#
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Web.UI.DataVisualization.Charting.ChartImageType ImageType { get; set; }

Property Value

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

Attributes

Remarks

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

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

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1