Class SaveEventArgs
Provides the information about the Saving event callback.
Inheritance
Namespace: Syncfusion.Blazor.ImageEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class SaveEventArgs : Object
Constructors
SaveEventArgs()
Declaration
public SaveEventArgs()
Properties
Cancel
Gets or sets a value indicating whether the save action should be canceled.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
FileName
Gets or sets the file name of the image to be saved in the SfImageEditor.
Declaration
public string FileName { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string value that specifies the file name of the image to be saved. |
FileType
Gets or sets the file type of the image to be saved in the SfImageEditor.
Declaration
public ImageEditorFileType FileType { get; set; }
Property Value
Type | Description |
---|---|
ImageEditorFileType | An enumeration value ImageEditorFileType that represents the file type of the image to be saved. The available file types are JPEG, PNG, SVG, and WebP. |
ImageQuality
Gets or sets the quality of the image file to export. This is only applicable for JPEG type images.
Declaration
public double ImageQuality { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Defaults to 1.0, which represents the original size of the image if not specified. |