Class
RadImageEditor

Represents the RadImageEditor for ASP.NET AJAX control wrapper.

Definition

Namespace:Telerik.WebAii.Controls.Html

Assembly:Telerik.WebAii.Controls.Html.dll

Syntax:

cs-api-definition
public class RadImageEditor : HtmlContainerControl

Inheritance: objectControlHtmlControlHtmlContainerControlRadImageEditor

Inherited Members HtmlContainerControl.TextContentHtmlContainerControl.InnerTextHtmlControl.FindParentContainer<TContainerControl>()HtmlControl.ValidateTag(string)HtmlControl.ValidateControl()HtmlControl.ParseResponseValue<T>(string, T)HtmlControl.GetAttributeAsString(string)HtmlControl.InitializeMappings(MappingsCollection)HtmlControl.GetRectangle()HtmlControl.IsVisible()HtmlControl.GetStyleValue(string)HtmlControl.GetStyle(string)HtmlControl.GetComputedStyleValue(string)HtmlControl.GetComputedStyle(string)HtmlControl.Parent<TContainerControl>()HtmlControl.Capture()HtmlControl.Capture(string, string)HtmlControl.Capture(string)HtmlControl.InvokeEvent(ScriptEventType)HtmlControl.InvokeEvent(ScriptEventType, bool)HtmlControl.InvokeEvent(ScriptEvent)HtmlControl.InvokeEvent(ScriptEvent, bool)HtmlControl.AddEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.RemoveEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.MouseClick()HtmlControl.MouseClick(MouseClickType)HtmlControl.MouseClick(MouseClickType, int, int)HtmlControl.MouseClick(MouseClickType, Point, OffsetReference)HtmlControl.MouseClick(MouseClickType, int, int, OffsetReference)HtmlControl.MouseHover()HtmlControl.MouseHover(Point)HtmlControl.MouseHover(int, int)HtmlControl.MouseHover(int, int, OffsetReference)HtmlControl.Click()HtmlControl.Click(bool)HtmlControl.ScrollToVisible()HtmlControl.ScrollToVisible(ScrollToVisibleType)HtmlControl.ScrollToVisible(ScrollToVisibleType, Rectangle)HtmlControl.Download(bool, DownloadOption, string, int)HtmlControl.CallMethod(string)HtmlControl.CallMethod<T>(string)HtmlControl.CallMethod<T>(string, T)HtmlControl.GetValue<T>(string)HtmlControl.GetValue<T>(string, T)HtmlControl.GetValue<T>(string, bool)HtmlControl.GetValue<T>(string, bool, T)HtmlControl.SetValue<T>(string, T)HtmlControl.SetValue<T>(string, T, bool)HtmlControl.Focus()HtmlControl.DragTo(OffsetReference, Point, int, int)HtmlControl.DragTo(OffsetReference, int, int, Rectangle, OffsetReference, int, int)HtmlControl.DragTo(Point)HtmlControl.DragTo(int, int)HtmlControl.DragTo(HtmlControl)HtmlControl.DragTo(HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, Point, HtmlControl)HtmlControl.DragTo(OffsetReference, Point, HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, int, int, bool, HtmlControl, OffsetReference, int, int, bool)HtmlControl.DragToWindowLocation(OffsetReference, int, int, bool, OffsetReference, int, int, bool)HtmlControl.ToString()HtmlControl.AsjQueryControl()HtmlControl.GetElementByTagNameClientSideLocatorHtmlControl.GetElementByIdClientSideLocatorHtmlControl.FindHtmlControl.ScrollTopHtmlControl.ScrollLeftHtmlControl.WaitHtmlControl.IDHtmlControl.CssClassHtmlControl.AttributesHtmlControl.MappingsHtmlControl.StylesHtmlControl.EventsHtmlControl.TagNameHtmlControl.ChildNodesHtmlControl.IsActiveElementHtmlControl.IsEnabledControl.Refresh()Control.AssignFailed(Exception)Control.SetTelerikComponentsVersion(TelerikComponentsVersion?)Control.MatchControl(Element, FindParam)Control.GetFamilyElement(int, Element)Control.ThrowOnInvalidAssignmentControl.TelerikComponentsVersionControl.IsRefreshControl.BaseElementControl.OwnerBrowserControl.Locator

Constructors

RadImageEditor()

Initializes a new instance of the RadImageEditor class.

Declaration

cs-api-definition
public RadImageEditor()

RadImageEditor(Element)

Initializes a new instance of the RadImageEditor class.

Declaration

cs-api-definition
public RadImageEditor(Element element)

Parameters

element

Element

Properties

ClientId

Get the client Id of the ImageEditor

Declaration

cs-api-definition
public string ClientId { get; }

Property Value

string

ClientSideLocator

Get the Client side locator.

Declaration

cs-api-definition
public override string ClientSideLocator { get; }

Property Value

string

Overrides HtmlControl.ClientSideLocator

CropBoxHeight

Gets Crop Box height. The property is supposed to work only if the Crop dialog is opened.

Declaration

cs-api-definition
public int CropBoxHeight { get; }

Property Value

int

CropBoxWidth

Gets Crop Box width. The property is supposed to work only if the Crop dialog is opened.

Declaration

cs-api-definition
public int CropBoxWidth { get; }

Property Value

int

CropBoxX

Gets Crop Box X position. The property is supposed to work only if the Crop dialog is opened.

Declaration

cs-api-definition
public int CropBoxX { get; }

Property Value

int

CropBoxY

Gets Crop Box Y position. The property is supposed to work only if the Crop dialog is opened.

Declaration

cs-api-definition
public int CropBoxY { get; }

Property Value

int

CurrentToolDialogName

Gets the RadImageEditor current tool name.

Declaration

cs-api-definition
public string CurrentToolDialogName { get; }

Property Value

string

FlipMode

Gets the Flip mode of the RadImageEditor.

Declaration

cs-api-definition
public ImageEditorFlip FlipMode { get; }

Property Value

ImageEditorFlip

Height

Gets/Sets ImageEditor height in pixels.

Declaration

cs-api-definition
public int Height { get; set; }

Property Value

int

ImageHeight

Gets/Sets Image width in pixels.

Declaration

cs-api-definition
public int ImageHeight { get; }

Property Value

int

ImageWidth

Gets/Sets Image width in pixels.

Declaration

cs-api-definition
public int ImageWidth { get; }

Property Value

int

IsRedoAvailable

Gets or sets whether the Image editor redo is enabled.

Declaration

cs-api-definition
public bool IsRedoAvailable { get; }

Property Value

bool

IsUndoAvailable

Gets or sets whether the Image editor undo is enabled.

Declaration

cs-api-definition
public bool IsUndoAvailable { get; }

Property Value

bool

Left

Gets/Sets the left of the ImageEditor.

Declaration

cs-api-definition
public int Left { get; }

Property Value

int

LocatorExpression

Gets the locator FindParam.

Declaration

cs-api-definition
public override IFindExpression LocatorExpression { get; }

Property Value

IFindExpression

Overrides Control.LocatorExpression

Mode

Gets the RadImageEditor mode.

Declaration

cs-api-definition
public ImageEditorMode Mode { get; }

Property Value

ImageEditorMode

Opacity

Gets/Sets Image opacity.

Declaration

cs-api-definition
public int Opacity { get; set; }

Property Value

int

ResizeEnabled

Gets or sets whether the Image editor resizing is enabled.

Declaration

cs-api-definition
public bool ResizeEnabled { get; set; }

Property Value

bool

RotationAngle

Gets Rotation angle.

Declaration

cs-api-definition
public int RotationAngle { get; }

Property Value

int

ServerUrl

Gets the RadImageEditor image Server URL.

Declaration

cs-api-definition
public string ServerUrl { get; }

Property Value

string

Top

Gets/Sets the top of the ImageEditor.

Declaration

cs-api-definition
public int Top { get; }

Property Value

int

Url

Gets the RadImageEditor image URL.

Declaration

cs-api-definition
public string Url { get; }

Property Value

string

Visible

Gets or sets whether the Image editor is visible.

Declaration

cs-api-definition
public bool Visible { get; set; }

Property Value

bool

Width

Gets/Sets ImageEditor width in pixels.

Declaration

cs-api-definition
public int Width { get; set; }

Property Value

int

ZoomLevel

Gets the image Zoom level.

Declaration

cs-api-definition
public int ZoomLevel { get; }

Property Value

int

Methods

AssignElement(Element)

Assign element and initialize this control.

Declaration

cs-api-definition
public override void AssignElement(Element e)

Parameters

e

Element

The element.

Overrides HtmlContainerControl.AssignElement(Element)

CloseCurrentToolDialog()

Closes the current ImageEditor tool.

Declaration

cs-api-definition
public void CloseCurrentToolDialog()

ControlAssert()

Returns RadControlAssert instance initialized for this control.

Declaration

cs-api-definition
public RadControlAssert ControlAssert()

Returns

RadControlAssert

CropBoxSet(int, int, int, int)

Sets Crop Box position and size (x, y, width, height).

Declaration

cs-api-definition
public void CropBoxSet(int x, int y, int width, int height)

Parameters

x

int

y

int

width

int

height

int

ExportOnClient(string, string, bool)

ImageEditor export image on client action.

Declaration

cs-api-definition
public void ExportOnClient(string name, string extension, bool overwrite)

Parameters

name

string

extension

string

overwrite

bool

ExportOnServer(string, string, bool)

ImageEditor export image on server action.

Declaration

cs-api-definition
public void ExportOnServer(string name, string extension, bool overwrite)

Parameters

name

string

extension

string

overwrite

bool

FlipHorizontally()

ImageEditor Flip horizontally action

Declaration

cs-api-definition
public void FlipHorizontally()

FlipVertically()

ImageEditor Flip vertically action

Declaration

cs-api-definition
public void FlipVertically()

HideTool(ImageEditorTool)

Hides an Image Editor tool.

Declaration

cs-api-definition
public void HideTool(ImageEditorTool tool)

Parameters

tool

ImageEditorTool

Redo()

ImageEditor Redo 1 action.

Declaration

cs-api-definition
public void Redo()

Redo(int)

ImageEditor Redo action. Need to specify steps number.

Declaration

cs-api-definition
public void Redo(int redoSteps)

Parameters

redoSteps

int

ResetImage()

ImageEditor reset image changes.

Declaration

cs-api-definition
public void ResetImage()

ResizeImage(int, int)

ImageEditor Resize image action. Need to specify width and height.

Declaration

cs-api-definition
public void ResizeImage(int width, int height)

Parameters

width

int

height

int

Rotate(ImageEditorRotation)

ImageEditor Rotate Left action

Declaration

cs-api-definition
public void Rotate(ImageEditorRotation rotation)

Parameters

rotation

ImageEditorRotation

RotateLeft()

ImageEditor Rotate Left action

Declaration

cs-api-definition
public void RotateLeft()

RotateRight()

ImageEditor Rotate Right action

Declaration

cs-api-definition
public void RotateRight()

SaveOnClient()

ImageEditor save image on client action.

Declaration

cs-api-definition
public void SaveOnClient()

SaveOnClient(string)

ImageEditor save image on client action. Need to specify file name.

Declaration

cs-api-definition
public void SaveOnClient(string name)

Parameters

name

string

SaveOnServer()

ImageEditor save image on server action.

Declaration

cs-api-definition
public void SaveOnServer()

SaveOnServer(string)

ImageEditor save image on server action. Need to specify file name.

Declaration

cs-api-definition
public void SaveOnServer(string name)

Parameters

name

string

SelectOptionFromToolbar(ImageEditorTool)

Opens ImageEditor tool by name.

Declaration

cs-api-definition
public void SelectOptionFromToolbar(ImageEditorTool tool)

Parameters

tool

ImageEditorTool

SetText(string)

Sets text to Image.

Declaration

cs-api-definition
public void SetText(string text)

Parameters

text

string

SetText(string, int, int, string, int, string)

Sets text to Image.

Declaration

cs-api-definition
public void SetText(string text, int x, int y, string fontFamily, int fontSize, string color)

Parameters

text

string

x

int

y

int

fontFamily

string

fontSize

int

color

string

ShowTool(ImageEditorTool)

Shows an Image Editor tool.

Declaration

cs-api-definition
public void ShowTool(ImageEditorTool tool)

Parameters

tool

ImageEditorTool

ToolEnable(ImageEditorTool, bool)

Enables/Disables an Image Editor tool.

Declaration

cs-api-definition
public void ToolEnable(ImageEditorTool tool, bool isEnabled)

Parameters

tool

ImageEditorTool

isEnabled

bool

Undo()

ImageEditor Undo 1 action.

Declaration

cs-api-definition
public void Undo()

Undo(int)

ImageEditor Undo action. Need to specify steps number.

Declaration

cs-api-definition
public void Undo(int undoSteps)

Parameters

undoSteps

int

ZoomActualSize()

ImageEditor zoom to image actual size.

Declaration

cs-api-definition
public void ZoomActualSize()

ZoomBestFit()

ImageEditor zoom to fit best.

Declaration

cs-api-definition
public void ZoomBestFit()

ZoomImage(int)

ImageEditor zoom out action.

Declaration

cs-api-definition
public void ZoomImage(int percentage)

Parameters

percentage

int

ZoomIn()

ImageEditor zoom in action.

Declaration

cs-api-definition
public void ZoomIn()

ZoomOut()

ImageEditor zoom out action.

Declaration

cs-api-definition
public void ZoomOut()