HtmlImportSettings
Provides different settings that are applied while importing HTML content into a RadDocument instance.
Definition
Namespace:Telerik.WinForms.Documents.FormatProviders.Html
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class HtmlImportSettings : XamlImportSettings
Inheritance: objectXamlImportSettingsHtmlImportSettings
Inherited Members
Constructors
public HtmlImportSettings()
Properties
Gets or sets a value indicating whether the default font properties of RadRichTextBox or the defaults in the HTML specification should be used for the elements that do not set their FontSize, FontFamily, FontWeight and FontStyle explicitly.
public bool UseDefaultStylesheetForFontProperties { get; set; }
true if the default font properties of RadRichTextBox should be used; otherwise, false.
Gets or sets a value indicating whether the heading style of the imported HTML should be imported or not.
public bool UseHtmlHeadingStyles { get; set; }
true if the style should be imported; otherwise, false.
Methods
Raises the event.
protected virtual void OnLoadImageEvent(LoadImageEventArgs args)
The LoadImageEventArgs instance containing the event data.
Events
public event EventHandler<FloatingUIContainerImportedEventArgs> FloatingUIContainerImported
Occurs when an FloatingUIContainer is being imported.
public event EventHandler<FloatingUIContainerImportingEventArgs> FloatingUIContainerImporting
Occurs when the HTML source specifies a Font that is not available to the RichTextBox.
public event EventHandler<FontSubstitutingEventArgs> FontSubstituting
Occurs after importing an InlineUIContainer.
public event EventHandler<InlineUIContainerImportedEventArgs> InlineUIContainerImported
Occurs when an InlineUIContainer is being imported.
public event EventHandler<InlineUIContainerImportingEventArgs> InlineUIContainerImporting
Occurs when an ImageInline object is being loaded through a URL source.
public event EventHandler<LoadImageEventArgs> LoadImageFromUrl