Skip to main content
A newer version of this page is available.

GaugeControl.ExportToImage(String, ImageFormat) Method

Exports the control to the specified file in Image format.

Namespace: DevExpress.XtraGauges.Win

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

Declaration

public void ExportToImage(
    string filePath,
    ImageFormat format
)

Parameters

Name Type Description
filePath String

A string that specifies the full path to the file which the control will be exported to.

format ImageFormat

A ImageFormat object which specifies the image format.

Remarks

This method indirectly calls the PrintingSystemBase.ExportToImage method of the XtraPrinting Library. If this library is not available, the method does nothing. For details on the ExportToImage method, see the PrintingSystemBase.ExportToImage topic.

Note

Only the following image formats are supported:

BMP, GIF, JPEG, PNG, EMF, WMF

See Also