Skip to main content

ImageEdit.SaveAsImageSource(ImageFormat, Boolean) Method

Saves the edit image as an ImageSource.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

Declaration

public ImageSource SaveAsImageSource(
    ImageFormat imageFormat = ImageFormat.Png,
    bool crop = true
)

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

Returns

Type Description
ImageSource

The image source.

See Also