Skip to main content
All docs
V25.2
  • DXImage.Save(Stream, DXImageFormat) Method

    Saves the image to the specified stream in the specified format.

    Namespace: DevExpress.Drawing

    Assembly: DevExpress.Drawing.v25.2.dll

    NuGet Package: DevExpress.Drawing

    Declaration

    public void Save(
        Stream stream,
        DXImageFormat imageFormat
    )

    Parameters

    Name Type Description
    stream Stream

    A Stream object to which the image is saved.

    imageFormat DXImageFormat

    The specified format for the image.

    The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Save(Stream, 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.

    See Also