New to Telerik UI for Blazor? Start a free 30-day trial

The commands that the ImageEditor OnExecute event reports and that ExecuteAsync accepts. The XML docs of each value name the matching ImageEditorCommandArgs class. Commands without arguments report null args.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

C#
public enum ImageEditorCommand

Fields

Adds a blur or pixelate area. Args: ImageEditorBlurArgs.

C#
AddBlur = 18

Adds several blur or pixelate areas. Args: ImageEditorBlursArgs.

C#
AddBlurs = 19

Adds a shape. Args: ImageEditorShapeArgs.

C#
AddShape = 27

Adds a text box. Args: ImageEditorTextArgs.

C#
AddText = 28

Changes one color adjustment. Args: ImageEditorAdjustArgs.

C#
Adjust = 14

Changes several color adjustments. Args: ImageEditorAdjustmentsArgs.

C#
AdjustMany = 15

Aligns a shape or text box. Args: ImageEditorAlignObjectArgs.

C#
AlignObject = 30

Applies a filter preset. Args: ImageEditorFilterArgs.

C#
ApplyFilter = 13

Deletes all blur and pixelate areas. No args.

C#
ClearBlurs = 22

Deletes all shapes and text boxes. No args.

C#
ClearObjects = 36

Crops the image to an area. Args: ImageEditorCropArgs.

C#
Crop = 0

Crops the image to an aspect ratio. Args: ImageEditorCropToAspectRatioArgs.

C#
CropToAspectRatio = 1

Deletes a blur or pixelate area. Args: ImageEditorObjectArgs.

C#
DeleteBlur = 21

Deletes a shape or text box. Args: ImageEditorObjectArgs.

C#
DeleteObject = 34

Duplicates a shape or text box. Args: ImageEditorObjectArgs.

C#
DuplicateObject = 31

Flips the image. Args: ImageEditorFlipArgs.

C#
Flip = 9

Flips a shape or text box. Args: ImageEditorObjectArgs.

C#
FlipObject = 32

Moves a shape or text box by an offset. Args: ImageEditorMoveObjectArgs.

C#
MoveObject = 33

Removes the frame. No args.

C#
RemoveFrame = 39

Removes the shadow. No args.

C#
RemoveShadow = 42

Changes the stacking order of a shape or text box. Args: ImageEditorReorderObjectArgs.

C#
ReorderObject = 35

Removes all color adjustments. No args.

C#
ResetAdjustments = 16

Removes the filter and all color adjustments. No args.

C#
ResetColor = 17

Removes the crop. No args.

C#
ResetCrop = 3

Restores the original image size. No args.

C#
ResetSize = 12

Removes rotation and flip. No args.

C#
ResetTransform = 8

Resizes the image. Args: ImageEditorSizeArgs.

C#
Resize = 10

Rotates the image by an angle. Args: ImageEditorAngleArgs.

C#
Rotate = 4

Resizes the image by a factor. Args: ImageEditorScaleArgs.

C#
Scale = 11

Sets the image corner radius. Args: ImageEditorCornerRadiusArgs.

C#
SetCornerRadius = 40

Sets the crop width and height. Args: ImageEditorSizeArgs.

C#
SetCropSize = 2

Sets the export format. Args: ImageEditorExportSettingsArgs.

C#
SetExportFormat = 23

Sets the export quality. Args: ImageEditorExportSettingsArgs.

C#
SetExportQuality = 24

Sets several export settings. Args: ImageEditorExportSettingsArgs.

C#
SetExportSettings = 26

Sets the export file name. Args: ImageEditorExportSettingsArgs.

C#
SetFileName = 25

Applies a frame. Args: ImageEditorFrameArgs.

C#
SetFrame = 37

Applies a frame and the image corner radius together, as the Frame pane does. Args: ImageEditorFrameArgs.

C#
SetFrameSide = 38

Rotates the image to an absolute angle. Args: ImageEditorAngleArgs.

C#
SetRotation = 5

Applies a shadow. Args: ImageEditorShadowArgs.

C#
SetShadow = 41

Sets rotation, straighten angle, and flip together. Args: ImageEditorTransformArgs.

C#
SetTransform = 7

Straightens the image by a fine angle from -45 to 45 degrees. Args: ImageEditorAngleArgs.

C#
Straighten = 6

Changes a blur or pixelate area. Args: ImageEditorBlurArgs.

C#
UpdateBlur = 20

Changes a shape or text box. Args: ImageEditorUpdateObjectArgs.

C#
UpdateObject = 29