skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class HtmlExportSettings

Provides different settings that are applied while exporting a RadDocument instance to HTML.

Inheritance
System.Object
HtmlExportSettings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinForms.Documents.FormatProviders.Html
Assembly: Telerik.WinControls.RichTextEditor.dll

Syntax

public class HtmlExportSettings

Constructors

HtmlExportSettings()

Initializes a new instance of the HtmlExportSettings class.

Declaration
public HtmlExportSettings()

Properties

DocumentExportLevel

Gets or sets which element tags should be exported.

Declaration
public DocumentExportLevel DocumentExportLevel { get; set; }
Property Value
DocumentExportLevel

The document export level.

ExportBoldAsStrong

Gets or sets a value indicating whether the font-weight: bold should be exported as tag strong.

Declaration
public bool ExportBoldAsStrong { get; set; }
Property Value
System.Boolean

true if the font-weight should be exported as tag strong.; otherwise, false.

ExportEmptyDocumentAsEmptyString

Gets or sets a value indicating whether empty document should be exported as empty string.

Declaration
public bool ExportEmptyDocumentAsEmptyString { get; set; }
Property Value
System.Boolean

true if empty document should be exported as empty string; otherwise, false.

ExportFontStylesAsTags

Gets or sets a value indicating whether the font styles: bold, italic and underline should be exported as tags.

Declaration
public bool ExportFontStylesAsTags { get; set; }
Property Value
System.Boolean

true if the font styles should be exported as tags; otherwise, false.

ExportHeadingsAsTags

Gets or sets a value indicating whether Heading styles should be exported as HTML heading styles (h1, h2 etc.)

Declaration
public bool ExportHeadingsAsTags { get; set; }
Property Value
System.Boolean

true if Heading styles should be exported as HTML heading styles; otherwise, false.

ExportItalicAsEm

Gets or sets a value indicating whether the font-style: italic should be exported as tag em.

Declaration
public bool ExportItalicAsEm { get; set; }
Property Value
System.Boolean

true if the font-style should be exported as tag em; otherwise, false.

ExportLocalOrStyleValueSource

Gets or sets if RadRichTextBox should export only properties which has local or style value source.

Declaration
public bool ExportLocalOrStyleValueSource { get; set; }
Property Value
System.Boolean

true if properties with local or style value source should be exported; otherwise, false.

ExportStyleMetadata

Gets or sets a value indicating whether an additional metadata should be added when exporting CSS classes. This metadata can be used later when importing.

Declaration
public bool ExportStyleMetadata { get; set; }
Property Value
System.Boolean

true if the additional metadata should be exported; otherwise, false.

ImageExportMode

Gets or sets the image export mode.

Declaration
public ImageExportMode ImageExportMode { get; set; }
Property Value
ImageExportMode

The image export mode.

PropertiesToIgnore

Gets a collection where you can add properties which will not be exported for a certain HTML tag.

Declaration
public Dictionary<string, List<string>> PropertiesToIgnore { get; }
Property Value
System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<System.String>>

Remarks

Gets a collection where you can add properties which will not be exported for a certain HTML tag.

SpanExportMode

Gets or sets the span export mode. This option will not affect the content of the span but only how the span tag is exported.

Declaration
public SpanExportMode SpanExportMode { get; set; }
Property Value
SpanExportMode

The span export mode.

Remarks

Controls how the span tag is exported.

StyleRepositoryExportMode

Gets or sets the style repository export mode.

Declaration
public StyleRepositoryExportMode StyleRepositoryExportMode { get; set; }
Property Value
StyleRepositoryExportMode

The style repository export mode.

Remarks

Controls how the style repository of the document is exported to HTML.

StylesExportMode

Gets or sets the styles export mode. This controls how the properties of the document elements will be exported.

Declaration
public StylesExportMode StylesExportMode { get; set; }
Property Value
StylesExportMode

The styles export mode.

Remarks

Gets or sets the styles export mode. This controls how the properties of the document elements will be exported.

Title

Gets or sets the title of the generated HTML file.

Declaration
public string Title { get; set; }
Property Value
System.String

The title.

Events

CssClassExporting

Occurs when a CSS class is being exported.

Declaration
public event EventHandler<CssClassExportingEventArgs> CssClassExporting
Event Type
System.EventHandler<CssClassExportingEventArgs>

FloatingUIContainerExporting

Occurs when an FloatingUIContainer is being exported. You can use this event to customize the container and the way it is exported.

Declaration
public event EventHandler<FloatingUIContainerExportingEventArgs> FloatingUIContainerExporting
Event Type
System.EventHandler<FloatingUIContainerExportingEventArgs>

ImageExporting

Occurs when an image is being exported. You can use this event to customize the image.

Declaration
public event EventHandler<ImageExportingEventArgs> ImageExporting
Event Type
System.EventHandler<ImageExportingEventArgs>

InlineUIContainerExporting

Occurs when an InlineUIContainer is being exported. You can use this event to customize the container and the way it is exported.

Declaration
public event EventHandler<InlineUIContainerExportingEventArgs> InlineUIContainerExporting
Event Type
System.EventHandler<InlineUIContainerExportingEventArgs>

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.