Change Theme Settings
Change Theme Settings
Show All Themes

Image Upload Processing

  • Undo (Ctrl+Z)
  • Redo (Ctrl+Y)
  • Bold (Ctrl+B)
  • Italic (Ctrl+I)
  • Underline
  • Strikethrough
  • Insert Image (Ctrl+G)
Uploaded Image Settings

The DevExpress ASP.NET HTML Editor (ASPxHtmlEditor) provides you with an ability to process an uploaded file before it is saved to the server. You can process image, audio, video, and flash files by handling the corresponding events: ImageFileSaving, AudioFileSaving, VideoFileSaving, and FlashFileSaving.

In this demo, the ImageFileSaving event and its arguments (e.OutputStream and e.FileName) are used to overlay an uploaded image with the watermark text and to resize a picture to fit the specified size limitation.