Arguments of CropToAspectRatio.
Definition
Namespace:Telerik.Blazor.Components.ImageEditor
Assembly:Telerik.Blazor.dll
Syntax:
C#
public class ImageEditorCropToAspectRatioArgs : ImageEditorCommandArgs
Inheritance: objectImageEditorCommandArgsImageEditorCropToAspectRatioArgs
Constructors
C#
public ImageEditorCropToAspectRatioArgs()
Properties
The area to fit the crop in. When null, the current crop area is used.
C#
public ImageEditorRect Area { get; set; }
The width divided by the height, for example 16.0 / 9. Set null to use the original image ratio.
C#
public double? AspectRatio { get; set; }
Portrait or landscape. When null, the current orientation is kept.
C#
public ImageEditorCropOrientation? Orientation { get; set; }