GaugeControl.ExportToImage(String, DXImageFormat) Method
SECURITY-RELATED CONSIDERATIONS
Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.
Exports the Gauge control to the specified stream in the specified image format.
Namespace: DevExpress.XtraGauges.Win
Assembly: DevExpress.XtraGauges.v25.2.Win.dll
NuGet Package: DevExpress.Win.Gauges
Declaration
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