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.

Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxHTMLEditorDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxHTMLEditorDemos