Class ImageResizeEventArgs
Represents information about the ImageResizing event callback.
Inheritance
Namespace: Syncfusion.Blazor.ImageEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class ImageResizeEventArgs : Object
Constructors
ImageResizeEventArgs()
Declaration
public ImageResizeEventArgs()
Properties
Cancel
Gets or sets a value indicating whether the resizing action should be canceled.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Height
Gets the height of the image after a resizing operation has been performed.
Declaration
public int Height { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | A double value representing the resulting height of the image after resizing. |
IsAspectRatio
Gets a value indicating whether the resizing action should maintain the aspect ratio.
Declaration
public bool IsAspectRatio { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
PreviousHeight
Gets the height of the image before resizing operation.
Declaration
public int PreviousHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | A double value representing the original height of the image. |
PreviousWidth
Gets the width of the image before resizing operation.
Declaration
public int PreviousWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | A double value representing the original width of the image. |
Width
Gets the width of the image after a resizing operation has been performed.
Declaration
public int Width { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | A double value representing the resulting width of the image after resizing. |