XRChart.ImageType Property
Specifies how XRChart contents are rendered.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v20.1.dll
NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Reporting.Core
Declaration
[DefaultValue(ChartImageType.Metafile)]
[SRCategory(ReportStringId.CatAppearance)]
public ChartImageType ImageType { get; set; }
Property Value
Type | Default | Description |
---|---|---|
ChartImageType | Metafile | A ChartImageType enumeration value, specifying how a chart is rendered in a report. |
Available values:
Name | Description |
---|---|
Metafile | The control is rendered as a metafile. In this case the quality of the rendered image is always good, but in some cases some details of the control may be lost. |
Bitmap | The control is rendered as a bitmap. In this case the quality of the rendered image is sometimes poor, but it allows a control to be drawn more precisely. |
Remarks
Use the ImageType property to specify whether a chart should be internally rendered as a metafile or bitmap in a report.
- If this property is set to ChartImageType.Metafile (the default value), the quality of the rendered image is always good, but in particular cases some details of the control can be lost.
- If this property is set to ChartImageType.Bitmap, the quality of the rendered image is sometimes poor, but it allows a control to be drawn more precisely.