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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 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

Does this example address your development requirements/objectives?

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

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

Contributors 3

  •  
  •  
  •