Skip to content

Implement a custom class with the IUriProvider interface to set the image's src attribute when a document is saved in HTML format.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/winforms-rich-text-editor-retain-original-image-uri-in-html-document

Repository files navigation

Rich Text Editor for WinForms - Retain the Original Image URI in an HTML Document

This example demonstrates how to use the DocumentImage.Uri property to set the image's src attribute when a document is saved in HTML format. You can switch on the HtmlDocumentExporterOptions.EmbedImages option to observe that the custom URI provider is idle for embedded images.

The project implements a custom class with the IUriProvider interface and registers it as the IUriProviderService provider.

Files to Review

Documentation

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)