kendoImageEditor
Namespace: Wisej.Web.Ext.Kendo
Assembly: Wisej.Web.Ext.Kendo (4.1.0.0)
Represents a Kendo UI Image Editor widget.
- C#
- VB.NET
public class kendoImageEditor : kendoBase
Public Class kendoImageEditor
Inherits kendoBase
Constructors
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);
kendoImageEditor(options)
Constructs a new instance of the kendoImageEditor class with the specified options.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial 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);