Kendo.Mvc.UI.Fluent.ImageEditorBuilder
Defines the fluent API for configuring the Kendo ImageEditor for ASP.NET MVC.
Methods
Width(System.Double)
Configures the width of the ImageEditor.
Parameters
value System.Double
The value that configures the width.
Height(System.Double)
Configures the width of the ImageEditor.
Parameters
value System.Double
The value that configures the height.
ImageUrl(System.String)
Sets the url (or base64 string) for the image to open.
Parameters
value System.String
The value that configures the imageurl.
SaveAs(System.Action<Kendo.Mvc.UI.Fluent.ImageEditorSaveAsSettingsBuilder>)
Sets the saveAs options for the save command. Utilizes the kendo.saveAs method.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ImageEditorSaveAsSettingsBuilder>
The action that configures the saveas.
Toolbar(System.Boolean)
Configures the Toolbar of the ImageEditor
Parameters
enabled System.Boolean
Enables or disables the toolbar option.
Toolbar(System.Action<Kendo.Mvc.UI.Fluent.ImageEditorToolbarSettingsBuilder>)
Configures the Toolbar of the ImageEditor
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ImageEditorToolbarSettingsBuilder>
The action that configures the toolbar.
Messages(System.Action<Kendo.Mvc.UI.Fluent.ImageEditorMessagesSettingsBuilder>)
Defines the text of the localizable UI parts of the FileManager.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ImageEditorMessagesSettingsBuilder>
The action that configures the messages.
Events(System.Action<Kendo.Mvc.UI.Fluent.ImageEditorEventBuilder>)
Configures the client-side events.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ImageEditorEventBuilder>
The client events action.
Example (ASPX)
<%= Html.Kendo().ImageEditor()
.Name("ImageEditor")
.Events(events => events
.ImageLoaded("onImageLoaded")
)
%>