Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GaugeControl.ExportToImage(String, DXImageFormat) Method

In This Article

Exports the Gauge control to the specified stream in the specified image format.

Namespace: DevExpress.XtraGauges.Win

Assembly: DevExpress.XtraGauges.v24.2.Win.dll

NuGet Package: DevExpress.Win.Gauges

#Declaration

public void ExportToImage(
    string filePath,
    DXImageFormat format
)

#Parameters

Name Type Description
filePath String

The the full name of the file to which the Gauge control is exported.

format DXImageFormat

The image format.

See Also