DXImage.Save(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.
Saves the image to the specified file in the specified format.
Namespace: DevExpress.Drawing
Assembly: DevExpress.Drawing.v25.2.dll
NuGet Package: DevExpress.Drawing
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| fileName | String | The name of the file to which the image is saved. |
| imageFormat | DXImageFormat | The specified format for the image. |
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Save(String, DXImageFormat) 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.