Skip to main content

XRGauge.ImageType Property

Specifies how XRGauge contents are rendered.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[DefaultValue(GaugeImageType.Metafile)]
[SRCategory(ReportStringId.CatAppearance)]
public GaugeImageType ImageType { get; set; }

Property Value

Type Default Description
GaugeImageType Metafile

A GaugeImageType enumeration value, specifying how a gauge is rendered in a report.

Remarks

Use the ImageType property to specify whether a gauge should be internally rendered as a metafile or bitmap in a report.

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

Note

To achieve Microsoft Azure compatibility, set the ImageType property to GaugeImageType.Bitmap or set the AzureCompatibility.Enable property to true.

See Also