Definition
Namespace:Telerik.Web.UI.ImageEditor
Inheritance: Telerik.Web.UI.ImageEditor.EditableImage
Events
Adds a imageReload event handler for the editableimage
add_imageReload
The event handler function to attach
Removes a imageReload event handler from the editableimage
remove_imageReload
The event handler function to remove
Methods
Add text to the image
static addText(Number x, Number y, Telerik.Web.UI.ImageEditor.ImageText text): void
The left
yNumberThe top
textTelerik.Web.UI.ImageEditor.ImageTextThe text to add to the image
Initiates a callback to the server and performs operations (saving image, cropping and etc.) to the image on the server.
static applyChangesOnServer(Boolean saveImageServer, Object fileName, Boolean call_saveOnClient, Boolean overwrite): void
True
fileNameObjectThe filename of the image. If null then the original filename is used. If file name is not a string
call_saveOnClientBooleanTrue
overwriteBooleanTrue
Changes the opacity of the image
changeOpacity(Object opacity): Object
Object
Crops the image by the specified rectangular bounds
crop(Object rectangle): Object
Object
Initiates an ASP.NET client callback to the server and raises the ImageEditing server side event
doServerOperation(Object commandName, Object commandText, Object commandArgument, Object callbackFunction): Object
Object
Flips the image in specified direction
flip(Object flipDirection, Object clearPrevFlipDirection): Object
Object
Gets the flip direction of the editable image
get_flipDirection(): Object
Object
Gets the current height of the image. Note that value may be different that the height of the image DOM element, for example, when zoomed
static get_height(): Number
Number
The height of the editable image
Gets the current opacity of the editable image
static get_opacity(): Number
Number
The opacity value of the editable image. Range
Gets the rotation object value of the editable image
get_rotation(): Object
Object
Gets the rotation angel of the editable image
get_rotationAngle(): Object
Object
Gets the src of the original image, i.e. before the server operations
get_serverUrl(): Object
Object
Gets the src of the edited image
static get_url(): String
String
The Url value of the image
Gets the current width of the image. Note that value may be different that the width of the image DOM element (e.g when zoomed)
get_width(): Object
Object
Gets the current zoom level of the image
static get_zoomLevel(): Number
Number
The current zoom level
Get the image being edited
static getImage(): Object
Object
A reference to the image DOM element
Inserts image (clip art) into the editable image at the specified position
static insertImage(Number x, Number y, String imgSrc, Array operations): void
The X coordinate of the image
yNumberThe Y coordinate of the image
imgSrcStringThe client URL of the image to insert.
operationsArrayArray of operations to apply to the clip art image
Resets the image to the provided image src
static reset(String imageUrl): void
The src of the image
Resizes the image according to the specified dimensions
resize(Object width, Object height): Object
Object
Rotates the image according to the rotation direction specified
rotate(Object rotationDirection): Object
Object
Invokes the download of the edited image to the client's machine
static saveOnClient(Object fileName): void
The name of the file
Sets the src of the original image
set_serverUrl(Object value): Object
Object
The wrapper class for editing images.
static Telerik(Object image, Telerik.Web.UI.RadXmlHttpPanel xmlHttpPanel): void
The image to be edited
xmlHttpPanelTelerik.Web.UI.RadXmlHttpPanelThe XmlHttpPanel to handle the server related editing operations
Zooms(scales) the image by the specified level in percentages. This operation does not change the image
static zoom(Number zoomLevel, Boolean forceZoom): void
Zooms the image to best fit in the viewport
zoomBestFit(Object width, Object height): Object
Object