menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ImageResizeEventArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ImageResizeEventArgs

    Represents information about the ImageResizing event callback.

    Inheritance
    System.Object
    ImageResizeEventArgs
    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

    true if the resizing action should be canceled; otherwise, false. The default value is false.

    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

    true if the resizing action should be based on an aspect ratio; otherwise, false. The default value is true.

    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved