GaugeControl.ExportToImage(String, ImageFormat) Method
Exports the control to the specified file in Image format.
Namespace: DevExpress.XtraGauges.Win
Assembly: DevExpress.XtraGauges.v19.2.Win.dll
Declaration
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