Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
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