Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 2.52 KB

File metadata and controls

29 lines (20 loc) · 2.52 KB

Export to HTML - How to Export Only Tag Content and Specify the Location of CSS Styles

This example illustrates how you can use the HtmlExporter class to export the document in HTML format.

The Export method enables you to emit only content encompassed by the specified root tag. The HtmlDocumentExporterOptions object passed as the method's parameter specifies the location of CSS styles - they can be exported to an external file, located within the style tag, or embedded as inline styles in the corresponding HTML tags. The code uses a custom UriProvider to accomplish this task. The IUriProviderService.RegisterProvider method instantiates and registers the UriProvider service.

Files to Review

Documentation

Does this example address your development requirements/objectives?

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