New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Kendo UI ImageEditor component

Definition

Constructors

Initializes a new instance of the ImageEditor class.

C#
public ImageEditor(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
Parameters:viewContextViewContext

The view context

initializerIJavaScriptInitializer

The JavaScriptInitializer

urlGeneratorIUrlGenerator

The URL generator.

Properties

Configures the width of the ImageEditor.

C#
public double? Height { get; set; }

Sets the label used for the <canvas> element to describe the image contents.

C#
public string ImageLabel { get; set; }

Sets the url (or base64 string) for the image to open.

C#
public string ImageUrl { get; set; }

Defines the text of the localizable UI parts of the FileManager.

C#
public ImageEditorMessagesSettings Messages { get; set; }

Sets the saveAs options for the save command. Utilizes the kendo.saveAs method.

C#
public ImageEditorSaveAsSettings SaveAs { get; set; }

Configures the Toolbar of the ImageEditor.

C#
public ImageEditorToolbarSettings Toolbar { get; set; }

Configures the width of the ImageEditor.

C#
public double? Width { get; set; }

Methods

C#
public override IDictionary<string, object> Serialize()
Returns:

IDictionary<string, object>

Overrides: WidgetBase.Serialize()

Writes the HTML.

C#
protected override void WriteHtml(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

The HtmlTextWriter.

Overrides: WidgetBase.WriteHtml(HtmlTextWriter)

Writes the initialization script.

C#
public override void WriteInitializationScript(TextWriter writer)
Parameters:writerTextWriter

The TextWriter.

Overrides: WidgetBase.WriteInitializationScript(TextWriter)