ClassRadImageEditor
Represents the RadImageEditor for ASP.NET AJAX control wrapper.
Definition
Namespace:Telerik.WebAii.Controls.Html
Assembly:Telerik.WebAii.Controls.Html.dll
Syntax:
public class RadImageEditor : HtmlContainerControl
Inheritance: objectControlHtmlControlHtmlContainerControlRadImageEditor
Inherited Members
Constructors
RadImageEditor()
Initializes a new instance of the RadImageEditor class.
Declaration
public RadImageEditor()
RadImageEditor(Element)
Initializes a new instance of the RadImageEditor class.
Properties
ClientId
Get the client Id of the ImageEditor
ClientSideLocator
Get the Client side locator.
Declaration
public override string ClientSideLocator { get; }
Property Value
Overrides
CropBoxHeight
Gets Crop Box height. The property is supposed to work only if the Crop dialog is opened.
CropBoxWidth
Gets Crop Box width. The property is supposed to work only if the Crop dialog is opened.
CropBoxX
Gets Crop Box X position. The property is supposed to work only if the Crop dialog is opened.
CropBoxY
Gets Crop Box Y position. The property is supposed to work only if the Crop dialog is opened.
CurrentToolDialogName
Gets the RadImageEditor current tool name.
FlipMode
Gets the Flip mode of the RadImageEditor.
Declaration
public ImageEditorFlip FlipMode { get; }
Property Value
Height
Gets/Sets ImageEditor height in pixels.
ImageHeight
Gets/Sets Image width in pixels.
ImageWidth
Gets/Sets Image width in pixels.
IsRedoAvailable
Gets or sets whether the Image editor redo is enabled.
IsUndoAvailable
Gets or sets whether the Image editor undo is enabled.
Left
Gets/Sets the left of the ImageEditor.
LocatorExpression
Gets the locator FindParam.
Declaration
public override IFindExpression LocatorExpression { get; }
Property Value
Overrides
Mode
Gets the RadImageEditor mode.
Opacity
Gets/Sets Image opacity.
ResizeEnabled
Gets or sets whether the Image editor resizing is enabled.
RotationAngle
Gets Rotation angle.
ServerUrl
Gets the RadImageEditor image Server URL.
Top
Gets/Sets the top of the ImageEditor.
Url
Gets the RadImageEditor image URL.
Visible
Gets or sets whether the Image editor is visible.
Width
Gets/Sets ImageEditor width in pixels.
Methods
AssignElement(Element)
Assign element and initialize this control.
Declaration
public override void AssignElement(Element e)
Parameters
e
The element.
Overrides
CloseCurrentToolDialog()
Closes the current ImageEditor tool.
Declaration
public void CloseCurrentToolDialog()
ControlAssert()
Returns RadControlAssert instance initialized for this control.
CropBoxSet(int, int, int, int)
Sets Crop Box position and size (x, y, width, height).
ExportOnClient(string, string, bool)
ImageEditor export image on client action.
ExportOnServer(string, string, bool)
ImageEditor export image on server action.
FlipHorizontally()
ImageEditor Flip horizontally action
Declaration
public void FlipHorizontally()
FlipVertically()
ImageEditor Flip vertically action
Declaration
public void FlipVertically()
HideTool(ImageEditorTool)
Hides an Image Editor tool.
Declaration
public void HideTool(ImageEditorTool tool)
Parameters
tool
Redo(int)
ImageEditor Redo action. Need to specify steps number.
ResizeImage(int, int)
ImageEditor Resize image action. Need to specify width and height.
Rotate(ImageEditorRotation)
ImageEditor Rotate Left action
Declaration
public void Rotate(ImageEditorRotation rotation)
Parameters
rotation
SaveOnClient()
ImageEditor save image on client action.
Declaration
public void SaveOnClient()
SaveOnClient(string)
ImageEditor save image on client action. Need to specify file name.
SaveOnServer()
ImageEditor save image on server action.
Declaration
public void SaveOnServer()
SaveOnServer(string)
ImageEditor save image on server action. Need to specify file name.
SelectOptionFromToolbar(ImageEditorTool)
Opens ImageEditor tool by name.
Declaration
public void SelectOptionFromToolbar(ImageEditorTool tool)
Parameters
tool
SetText(string)
Sets text to Image.
SetText(string, int, int, string, int, string)
Sets text to Image.
ShowTool(ImageEditorTool)
Shows an Image Editor tool.
Declaration
public void ShowTool(ImageEditorTool tool)
Parameters
tool
ToolEnable(ImageEditorTool, bool)
Enables/Disables an Image Editor tool.
Declaration
public void ToolEnable(ImageEditorTool tool, bool isEnabled)
Parameters
tool
isEnabled
Undo(int)
ImageEditor Undo action. Need to specify steps number.
ZoomActualSize()
ImageEditor zoom to image actual size.
Declaration
public void ZoomActualSize()
ZoomImage(int)
ImageEditor zoom out action.