XRSparkline.ImageType Property
Specifies how XRSparkline contents are rendered.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
[DefaultValue(SparklineImageType.Metafile)]
[SRCategory(ReportStringId.CatAppearance)]
public SparklineImageType ImageType { get; set; }
Property Value
Type | Default | Description |
---|---|---|
SparklineImageType | Metafile | A SparklineImageType enumeration value, specifying how a sparkline is rendered in a report. |
Remarks
Use the ImageType
property to specify whether a sparkline 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