GaugeControl.ExportToImage(Stream, ImageFormat) Method
Exports the control to the specified stream in Image format.
Namespace: DevExpress.XtraGauges.Win
Assembly: DevExpress.XtraGauges.v19.2.Win.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
stream | Stream | A Stream object, which the created document is 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
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ExportToImage(Stream, ImageFormat) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.