XRSparkline.ImageType Property
Specifies how XRSparkline contents are rendered.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v17.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. |
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 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.