Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XRChart.ImageType Property

Specifies how XRChart contents are rendered.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.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.

Svg

The control is rendered as vector graphics.

#Remarks

Use the ImageType property to specify whether a chart should be internally rendered as a metafile, an SVG image, or bitmap in a report.

  • Bitmap Image: A raster format that is ideal for high-quality, static images but may lose clarity when resized; it is universally supported across platforms, making it a good choice for fixed-size displays.
  • Metafile: A Windows-only vector format that maintains sharpness when scaled, perfect for high-resolution printing or resizing on Windows-based systems, but may not display correctly on non-Windows platforms.
  • SVG: A cross-platform, scalable vector format ideal for web and modern applications on all platforms; this format allows images to be resized without losing quality, especially in interactive or responsive layouts.
See Also