Skip to main content
All docs
V25.2
  • 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

    public void Save(
        string fileName,
        DXImageFormat imageFormat
    )

    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.

    See Also