XRGauge.ImageType Property
Specifies how XRGauge contents are rendered.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v18.2.dll
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. |
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 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.