Back to Devexpress

XRGauge.ImageType Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrgauge-ea76ed7d.md

latest2.6 KB
Original Source

XRGauge.ImageType Property

Specifies how XRGauge contents are rendered.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[DefaultValue(GaugeImageType.Metafile)]
[SRCategory(ReportStringId.CatAppearance)]
public GaugeImageType ImageType { get; set; }
vb
<DefaultValue(GaugeImageType.Metafile)>
<SRCategory(ReportStringId.CatAppearance)>
Public Property ImageType As GaugeImageType

Property Value

TypeDefaultDescription
GaugeImageTypeMetafile

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

|

Available values:

NameDescription
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.

| | Svg |

The control is rendered as vector graphics.

|

Remarks

Use the ImageType property to specify whether a gauge 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

XRGauge Class

XRGauge Members

DevExpress.XtraReports.UI Namespace