Skip to main content
All docs
V26.1
  • ImageEdit.SaveAsStream(Stream, ImageFormat, Boolean) Method

    Saves the edit image to a stream.

    Namespace: DevExpress.Maui.Editors

    Assembly: DevExpress.Maui.Editors.dll

    NuGet Package: DevExpress.Maui.Editors

    Declaration

    public void SaveAsStream(
        Stream stream,
        ImageFormat imageFormat = ImageFormat.Png,
        bool crop = true
    )

    Parameters

    Name Type Description
    stream Stream

    An image stream.

    Optional Parameters

    Name Type Default Description
    imageFormat ImageFormat Png

    Png to save the edit image in PNG format. You can also specify Jpeg to save the image in JPEG format.

    crop Boolean True

    true to enable the crop area; otherwise, false

    See Also