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/how-to-retain-original-image-uri-in-html-document-e3189

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

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

Topics

Resources

License

Stars

Watchers

Forks