Skip to main content

ImageEdit.SaveAsBase64(ImageFormat, Boolean) Method

Saves the edit image as a Base64 string.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

Declaration

public string SaveAsBase64(
    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
String

A Base64 string.

See Also