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 |
---|---|---|
Chart |
Metafile | A Chart |
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.