ASPxGaugeControl.ExportToImage(String, ImageFormat) Method
Exports the ASPxGaugeControl to the specified file in Image format.
Namespace: DevExpress.Web.ASPxGauges
Assembly: DevExpress.Web.ASPxGauges.v20.2.dll
NuGet Package: DevExpress.Web.Visualization
Declaration
Parameters
Name | Type | Description |
---|---|---|
filePath | String | A String that specifies the path (including the full path) for the created Image file. |
format | ImageFormat | A ImageFormat object which specifies the image format. |
Remarks
The ExportToImage method overwrites any files present at the specified path that have the same file name without any warnings.
ASPxGaugeControl1.ExportToImage(@"c:\temp\aspxgaugeexport.jpeg",
System.Drawing.Imaging.ImageFormat.Jpeg);
See Also