Definition
Namespace:Telerik.Web.UI
Inheritance: Telerik.Web.UI.RadWebControlTelerik.Web.UI.RadImageEditor
Events
Adds a commandExecuted event handler for the radimageeditor
add_commandExecuted
The event handler function to attach
Adds a commandExecuting event handler for the radimageeditor
add_commandExecuting
The event handler function to attach
Adds a imageChanged event handler for the radimageeditor
add_imageChanged
The event handler function to attach
Adds a imageChanging event handler for the radimageeditor
add_imageChanging
The event handler function to attach
Adds a load event handler for the radimageeditor
add_load
The event handler function to attach
Adds a resizeEnd event handler for the radimageeditor
add_resizeEnd
The event handler function to attach
Adds a resizeStart event handler for the radimageeditor
add_resizeStart
The event handler function to attach
Adds a saved event handler for the radimageeditor
add_saved
The event handler function to attach
Adds a saving event handler for the radimageeditor
add_saving
The event handler function to attach
Adds a shortCutHit event handler for the radimageeditor
add_shortCutHit
The event handler function to attach
Adds a toolsDialogClosed event handler for the radimageeditor
add_toolsDialogClosed
The event handler function to attach
Removes a commandExecuted event handler from the radimageeditor
remove_commandExecuted
The event handler function to remove
Removes a commandExecuting event handler from the radimageeditor
remove_commandExecuting
The event handler function to remove
Removes a imageChanged event handler from the radimageeditor
remove_imageChanged
The event handler function to remove
Removes a imageChanging event handler from the radimageeditor
remove_imageChanging
The event handler function to remove
Removes a load event handler from the radimageeditor
remove_load
The event handler function to remove
Removes a resizeEnd event handler from the radimageeditor
remove_resizeEnd
The event handler function to remove
Removes a resizeStart event handler from the radimageeditor
remove_resizeStart
The event handler function to remove
Removes a saved event handler from the radimageeditor
remove_saved
The event handler function to remove
Removes a saving event handler from the radimageeditor
remove_saving
The event handler function to remove
Removes a shortCutHit event handler from the radimageeditor
remove_shortCutHit
The event handler function to remove
Removes a toolsDialogClosed event handler from the radimageeditor
remove_toolsDialogClosed
The event handler function to remove
Methods
Adds a shortcut with the specified name (keyword) and shortcut string (the combination of keys).
addShortCut(String shortcutName, String shortcutString): void
The shortcut name
shortcutStringStringThe Keyboard combination for the shortcut. Letter case is ignored.
Adds text to the image in the specified position
addTextToImage(Number x, Number y, Telerik.Web.UI.ImageEditor.ImageText text): void
The X coordinate of the text
yNumberThe Y coordinate of the text
textTelerik.Web.UI.ImageEditor.ImageTextThe text to add to the image
Forces the changes made to the image to be applied on the server
applyChangesOnServer(): void
Executes the provided filter against the current editable image and adds the operation to the undo stack
applyFilter(Telerik.Web.UI.ImageEditor.Filters.IPixelFilter filter): void
The filter to be applied
Changes the opacity of the image
changeImageOpacity(Number opacity, Boolean shouldUpdateUI): void
The opacity that is applied to the image
shouldUpdateUIBooleanFlag whether the UI
Closes the tools panel
closeToolsPanel(): void
Initiates an ASP.NET client callback to the server and raises the ImageEditing server side event. The EditableImage can be retrieved from the event arguments, and edited accordingly.
editImageOnServer(String commandName, String commandText, String commandArgument, Function callbackFunction): void
The command name that will be passed to the server and respective client events. It should be unique.
commandTextStringThe command text that will be used to record the operation in the Undo
commandArgumentStringThe additional command argument that will be passed to the server. By default empty string is passed.
callbackFunctionFunctionThe function that will be called after response is received from the server. Two parameters are sent to this function
Executes an ImageEditor's command and opens the corresponding dialog. Does not fire the client-side events.
executeCommand(String commandName): void
The name of the command to execute
Fires an ImageEditor's command with the full set of client-side events
fire(String commandName, Object args): void
The name of the command to fire
argsObjectEvent arguments accompanying the firing of the command
Flips the image in the Horizontal direction
flipHorizontal(): void
Flips the image in a horizontal or vertical direction
flipImage(Telerik.Web.UI.ImageEditor.FlipDirection flipDirection, Boolean shouldUpdateUI, Boolean forceChanges): void
The direction of flipping
shouldUpdateUIBooleanFlag whether the UI
forceChangesBooleanFlag whether the previously set flip direction should be taken under consideration
Flips the image in the Vertical direction
flipVertical(): void
Gets a reference to the bottom docking zone of the ToolBar panel.
get_bottomZone(): Object
Object
The reference to the bottom docking zone of the ToolBar panel
Gets the currently executing command
get_currentCommand(): String
String
The name of the command
Gets the current tool widget, i.e. the object holding the dialog's functionality
get_currentToolWidget(): Telerik.Web.UI.ImageEditor.ToolWidget
Telerik.Web.UI.ImageEditor.ToolWidget
A reference to the widget
Gets the flag to indicate whether the resizing of the ImageEditor control is enabled
get_enableResize(): Boolean
Boolean
Is resize enabled flag
Gets the FormDecorator, used in decorating the dialog's UI
get_formDecorator(): Telerik.Web.UI.RadFormDecorator
Telerik.Web.UI.RadFormDecorator
A reference to the RadFormDecorator
Gets the height of the ImageEditor control's element
get_height(): Number
Number
The height of the control
Gets a flag whether the a redo command is available in the redo stack
get_isRedoAvailable(): Boolean
Boolean
Is redo available flag
Gets a flag whether the a undo command is available in the undo stack
get_isUndoAvailable(): Boolean
Boolean
Is undo available flag
Gets the left/x coordinate of the element's location
get_left(): Number
Number
The value of the left
Gets a reference to the left docking zone of the ToolBar panel.
get_leftZone(): Object
Object
The reference to the left docking zone of the ToolBar panel
Gets the location of the ImageEditor control's element
get_location(Boolean forceCalculation): Sys.UI.Point
Flag to force recalculation of the element
Returns:Sys.UI.Point
The position of the control
Gets the lower limit of the zoom level. This is the lowest percentage value up to which the user can zoom out the image in the RadImageEditor.
get_lowerZoomBound(): Number
Number
The lower zoom limit. The default is 25.
Gets the redo stack of operations
get_operationsToRedo(): Array
Array
The redo stack
Gets the undo stack of operations
get_operationsToUndo(): Array
Array
The undo stack
Gets a reference to the resizing handle element, i.e. the element, by which the user resizes the ImageEditor's element
get_resizeHandle(): Object
Object
A reference ot the resize handle
Gets a reference to the right docking zone of the ToolBar panel.
get_rightZone(): Object
Object
The reference to the right docking zone of the ToolBar panel
Gets shortcuts set to the ImageEditor control on the server.
get_shortcuts(): Array
Array
Two dimensional array containing the shortcuts of the ImageEditor set on the server.
Gets a reference to the Toolbar's container DOM element
get_toolBarContainer(): Object
Object
The Toolbar
Gets the ToolBar Mode of the ImageEditor control.
get_toolBarMode(): Telerik.Web.UI.ImageEditor.ToolBarMode
Telerik.Web.UI.ImageEditor.ToolBarMode
The ToolBar Mode of the ImageEditor control.
Gets a reference to the ToolBar panel(the movable dock container).
get_toolBarPanel(): Object
Object
The reference to the ToolBar panel
Gets the position of the RadImageEditor ToolBar.
get_toolBarPosition(): Telerik.Web.UI.ImageEditor.ToolBarPosition
Telerik.Web.UI.ImageEditor.ToolBarPosition
The position of the RadImageEditor ToolBar.
Gets a collection of the different tool groups in the Tools" panel
get_toolGroups(): Array
Array
The collection of the different tool groups in the Tools
Gets a dictionary of the present tools in the Tools" panel
get_tools(): Array
Array
The dictionary of the present tools in the Tools
Gets a reference to the Tools" panel
get_toolsPanel(): Object
Object
The reference to the Tools
Gets the top/y coordinate of the element's location
get_top(): Number
Number
The value of the top
Gets a reference to the top docking zone of the ToolBar panel.
get_topZone(): Object
Object
The reference to the top docking zone of the ToolBar panel
Gets the upper limit of the zoom level. This is the highest percentage value up to which the user can zoom in the image in the RadImageEditor.
get_upperZoomBound(): Number
Number
The upper zoom limit. The default is 400.
Gets a reference to the DOM element holding the edited image
get_viewport(): Object
Object
The reference to the viewport
Gets the width of the ImageEditor control's element
get_width(): Number
Number
The width of the control
Gets a reference to the XmlHttpPanel that manages the loading of the dialogs
get_xmlHttpPanel(): Telerik.Web.UI.RadXmlHttpPanel
Telerik.Web.UI.RadXmlHttpPanel
A reference to the XmlHttpPanel
Gets a reference to the current EditableImage
getEditableImage(): Telerik.Web.UI.ImageEditor.EditableImage
Telerik.Web.UI.ImageEditor.EditableImage
The current EditableImage
Gets a reference to the image element being edited
getImage(): Object
Object
The reference to the DOM image element
Initializes an internal callback using a XmlHttpPanel
initCallback(String target): void
Data to send to the server
Inserts image (clip art) into the editable image at the specified position
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
Opens the tools panel with the current tool widget
openToolsPanel(): void
Redoes the previously undone editing steps of the image
redo(Number depth): void
The depth
Removes a shortcut with the specified name (keyword).
removeShortCut(String shortcutName): void
The shortcut name
Redraws the ImageEditor
repaint(): void
Resets the changes to the current image and reverts it to the original one
resetChanges(): void
Resizes the current image. This operation changes the image.
resizeImage(Number width, Number height, Boolean shouldUpdateUI): void
The width
heightNumberThe height
shouldUpdateUIBooleanFlag whether the UI
Rotates the current image clockwise with the specified enum angle value
rotateImage(Telerik.Web.UI.ImageEditor.Rotation rotation, Boolean shouldUpdateUI): void
Enum to determine the angle value. Only orthogonal values
shouldUpdateUIBooleanFlag whether the UI
Rotates the current image 90 degrees counterclockwise, i.e. 270 degrees clockwise
rotateLeft90(): void
Rotates the current image 90 degrees clockwise
rotateRight90(): void
Stores the client-state changes made during the client-side existence of the control
saveClientState(): void
Downloads the image through the browser's save dialog on the user's PC
saveImageOnClient(Object fileName): void
The name of the file
Saves the image to the server in the same directory as the original image
saveImageOnServer(Object fileName, Boolean overwrite): void
The name of the file
overwriteBooleanFlag to allow an image with the same name to be overwritten
Sets the currently executing command
set_currentCommand(String value): void
The name of the command
Sets the current tool widget
set_currentToolWidget(Telerik.Web.UI.ImageEditor.ToolWidget value): void
The new current widget
Enables/disables the resizing of the ImageEditor control
set_enableResize(Boolean value): void
Flag to enable
Sets the height of the ImageEditor control's element
set_height(Number value): void
The value in pixels
Sets the width of the ImageEditor control's element
set_width(Number value): void
The value in pixels
Sets a shortcut with the specified name (keyword) and shortcut string (the combination of keys). If the shortcut name exists, the existing shortcut is removed.
setShortCut(String shortcutName, String shortcutString): void
The shortcut name
shortcutStringStringThe Keyboard combination for the shortcut. Letter case is ignored.
(Un)checks a ToolBar button
setToggleState(String toolName, Boolean value): void
The name of the button
valueBooleanThe value of the state
Undoes the last editing steps of the image
undo(Number depth): void
The depth
Zooms the image to best fit in the viewport
zoomBestFit(): void
Zooms(scales) the image by the specified level in percents. This operation does not change the image
zoomImage(Number zoomLevel, Boolean shouldUpdateUI): void
The level
shouldUpdateUIBooleanFlag whether the UI
Zooms in the current image by 50%, i.e. if the current zoom level is 100, after zoom in the level will be 150
zoomIn(): void
Zooms out the current image by 50%, i.e. if the current zoom level is 100, after zoom in the level will be 50
zoomOut(): void