Class RadImageEditor
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
[TelerikToolboxCategory("Editors")]
public class RadImageEditor : RadControl, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider
Constructors
RadImageEditor()
Declaration
public RadImageEditor()
Properties
BitmapPath
Gets or sets the path that will be used for save operations.
Declaration
public string BitmapPath { get; set; }
Property Value
System.String
|
CurrentBitmap
Gets or sets the current bitmap. If you want to open an image for edit use one of the OpenImage methods.
Declaration
public Bitmap CurrentBitmap { get; set; }
Property Value
System.Drawing.Bitmap
|
DefaultSize
Declaration
protected override Size DefaultSize { get; }
Property Value
System.Drawing.Size
|
ImageEditorElement
Gets the main element of the editor.
Declaration
public RadImageEditorElement ImageEditorElement { get; }
Property Value
RadImageEditorElement
|
ZoomFactor
Gets or sets the zoom factor of the editor.
Declaration
public SizeF ZoomFactor { get; set; }
Property Value
System.Drawing.SizeF
|
Methods
CancelAsync()
Declaration
public virtual void CancelAsync()
CreateChildItems(RadElement)
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
RadElement
parent
|
Overrides
CreateImageEditorElement()
Declaration
protected virtual RadImageEditorElement CreateImageEditorElement()
Returns
RadImageEditorElement
|
LoadAsync()
Declaration
public virtual void LoadAsync()
LoadAsync(String)
Declaration
public virtual void LoadAsync(string url)
Parameters
System.String
url
|
OnDragDrop(DragEventArgs)
Declaration
protected override void OnDragDrop(DragEventArgs e)
Parameters
System.Windows.Forms.DragEventArgs
e
|
OnDragEnter(DragEventArgs)
Declaration
protected override void OnDragEnter(DragEventArgs e)
Parameters
System.Windows.Forms.DragEventArgs
e
|
OnKeyDown(KeyEventArgs)
Raises the KeyDown event.
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
The System.Windows.Forms.KeyEventArgs instance containing the event data. |
Overrides
OnKeyPress(KeyPressEventArgs)
Raises the KeyPress event.
Declaration
protected override void OnKeyPress(KeyPressEventArgs e)
Parameters
System.Windows.Forms.KeyPressEventArgs
e
The System.Windows.Forms.KeyPressEventArgs instance containing the event data. |
Overrides
OnKeyUp(KeyEventArgs)
Raises the KeyUp event.
Declaration
protected override void OnKeyUp(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
The System.Windows.Forms.KeyEventArgs instance containing the event data. |
Overrides
OnMouseClick(MouseEventArgs)
Raises the System.Windows.Forms.Control.MouseClick event.
Declaration
protected override void OnMouseClick(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
An System.Windows.Forms.MouseEventArgs that contains the event data. |
OnMouseDoubleClick(MouseEventArgs)
Raises the System.Windows.Forms.Control.MouseDoubleClick event.
Declaration
protected override void OnMouseDoubleClick(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
An System.Windows.Forms.MouseEventArgs that contains the event data. |
OnMouseDown(MouseEventArgs)
Raises the MouseDown event.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Overrides
OnMouseEnter(EventArgs)
Raises the MouseEnter event.
Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
System.EventArgs
e
The System.EventArgs instance containing the event data. |
Overrides
OnMouseHover(EventArgs)
Raises the MouseHover event.
Declaration
protected override void OnMouseHover(EventArgs e)
Parameters
System.EventArgs
e
The System.EventArgs instance containing the event data. |
Overrides
OnMouseLeave(EventArgs)
Raises the MouseLeave event.
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
System.EventArgs
e
The System.EventArgs instance containing the event data. |
Overrides
OnMouseMove(MouseEventArgs)
Raises the MouseMove event.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Overrides
OnMouseUp(MouseEventArgs)
Raises the MouseUp event.
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Overrides
OnMouseWheel(MouseEventArgs)
Raises the MouseWheel event.
Declaration
protected override void OnMouseWheel(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Overrides
OnSizeChanged(EventArgs)
Declaration
protected override void OnSizeChanged(EventArgs e)
Parameters
System.EventArgs
e
|
OnThemeChanged()
OpenImage()
Declaration
public virtual void OpenImage()
OpenImage(Bitmap)
Declaration
public virtual void OpenImage(Bitmap bitmap)
Parameters
System.Drawing.Bitmap
bitmap
|
OpenImage(String)
Declaration
public virtual void OpenImage(string fileName)
Parameters
System.String
fileName
|
SaveImage()
Declaration
public virtual void SaveImage()
SaveImage(Stream)
Declaration
public virtual void SaveImage(Stream stream)
Parameters
System.IO.Stream
stream
|
SaveImage(Stream, ImageFormat)
Declaration
public virtual void SaveImage(Stream stream, ImageFormat imageFormat)
Parameters
System.IO.Stream
stream
|
System.Drawing.Imaging.ImageFormat
imageFormat
|
SaveImage(String)
Declaration
public virtual void SaveImage(string path)
Parameters
System.String
path
|
SaveImage(String, ImageFormat)
Declaration
public virtual void SaveImage(string path, ImageFormat imageFormat)
Parameters
System.String
path
|
System.Drawing.Imaging.ImageFormat
imageFormat
|
SaveImageAs()
Declaration
public virtual void SaveImageAs()
ShowBlurDialog()
Declaration
public virtual void ShowBlurDialog()
ShowCanvasResizeDialog()
Declaration
public virtual void ShowCanvasResizeDialog()
ShowContrastDialog()
Declaration
public virtual void ShowContrastDialog()
ShowDrawDialog()
Declaration
public virtual void ShowDrawDialog()
ShowDrawShapeDialog()
Declaration
public virtual void ShowDrawShapeDialog()
ShowDrawTextDialog()
Declaration
public virtual void ShowDrawTextDialog()
ShowHueDialog()
Declaration
public virtual void ShowHueDialog()
ShowResizeDialog()
Declaration
public virtual void ShowResizeDialog()
ShowRoundCornersDialog()
Declaration
public virtual void ShowRoundCornersDialog()
ShowSaturationDialog()
Declaration
public virtual void ShowSaturationDialog()
ShowSharpenDialog()
Declaration
public virtual void ShowSharpenDialog()
Events
CurrentImageChanged
Occurs after a specific operation is performed over the image.
Declaration
public event ImageChangedEventHandler CurrentImageChanged
Event Type
ImageChangedEventHandler
|
ImageLoadAsyncProgressChanged
Occurs when the progress of an async load operation changes.
Declaration
public event ProgressChangedEventHandler ImageLoadAsyncProgressChanged
Event Type
System.ComponentModel.ProgressChangedEventHandler
|
ImageLoaded
Occurs after an image is loaded in the editor.
Declaration
public event AsyncCompletedEventHandler ImageLoaded
Event Type
System.ComponentModel.AsyncCompletedEventHandler
|
ImageSaved
Occurs after an image is saved.
Declaration
public event EventHandler ImageSaved
Event Type
System.EventHandler
|
OperationError
Occurs when an operation results in an error or an exception.
Declaration
public event ErrorEventHandler OperationError
Event Type
System.IO.ErrorEventHandler
|