Skip to main content

kendoImageEditor

Namespace: Wisej.Web.Ext.Kendo

Assembly: Wisej.Web.Ext.Kendo (4.1.0.0)

Represents a Kendo UI Image Editor widget.

public class kendoImageEditor : kendoBase

Constructors​

Instance member kendoImageEditor()​

Constructs a new instance of the kendoImageEditor class.

Example:

The following example creates an image editor and sets the image to edit through the Options property.

var imageEditor = new kendoImageEditor();
imageEditor.Options.imageUrl = "Images/photo.jpg";
imageEditor.Dock = DockStyle.Fill;
this.Controls.Add(imageEditor);

Instance member kendoImageEditor(options)​

Constructs a new instance of the kendoImageEditor class with the specified options.

NameTypeDescription
optionsObjectInitial set of options.

Example:

The following example creates an image editor that loads an image and sets the name of the file saved by the user.

var imageEditor = new kendoImageEditor(new
{
imageUrl = "Images/photo.jpg",
saveAs = new { fileName = "photo-edited.png" }
});
imageEditor.Dock = DockStyle.Fill;
this.Controls.Add(imageEditor);

Implements​