Skip to main content

XRSparkline.ImageType Property

Specifies how XRSparkline contents are rendered.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.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 or bitmap in a report.

  • If this property is set to SparklineImageType.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 SparklineImageType.Bitmap, the quality of the rendered image is sometimes poor, but it allows a control to be drawn more precisely.
See Also