Class HtmlImportSettings
Provides different settings that are applied while importing HTML content into a
Inherited Members
Namespace: Telerik.WinForms.Documents.FormatProviders.Html
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class HtmlImportSettings : XamlImportSettings
Constructors
HtmlImportSettings()
Declaration
public HtmlImportSettings()
Properties
UseDefaultStylesheetForFontProperties
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.
Declaration
public bool UseDefaultStylesheetForFontProperties { get; set; }
Property Value
System.Boolean
|
UseHtmlHeadingStyles
Gets or sets a value indicating whether the heading style of the imported HTML should be imported or not.
Declaration
public bool UseHtmlHeadingStyles { get; set; }
Property Value
System.Boolean
|
Methods
OnLoadImageEvent(LoadImageEventArgs)
Raises the LoadImageEvent event.
Declaration
protected virtual void OnLoadImageEvent(LoadImageEventArgs args)
Parameters
LoadImageEventArgs
args
The LoadImageEventArgs instance containing the event data. |
Events
FloatingUIContainerImported
Declaration
public event EventHandler<FloatingUIContainerImportedEventArgs> FloatingUIContainerImported
Event Type
System.EventHandler<FloatingUIContainerImportedEventArgs>
|
FloatingUIContainerImporting
Occurs when an FloatingUIContainer is being imported.
Declaration
public event EventHandler<FloatingUIContainerImportingEventArgs> FloatingUIContainerImporting
Event Type
System.EventHandler<FloatingUIContainerImportingEventArgs>
|
FontSubstituting
Occurs when the HTML source specifies a Font that is not available to the RichTextBox.
Declaration
public event EventHandler<FontSubstitutingEventArgs> FontSubstituting
Event Type
System.EventHandler<FontSubstitutingEventArgs>
|
InlineUIContainerImported
Occurs after importing an InlineUIContainer.
Declaration
public event EventHandler<InlineUIContainerImportedEventArgs> InlineUIContainerImported
Event Type
System.EventHandler<InlineUIContainerImportedEventArgs>
|
InlineUIContainerImporting
Occurs when an InlineUIContainer is being imported.
Declaration
public event EventHandler<InlineUIContainerImportingEventArgs> InlineUIContainerImporting
Event Type
System.EventHandler<InlineUIContainerImportingEventArgs>
|
LoadImageFromUrl
Occurs when an ImageInline object is being loaded through a URL source.
Declaration
public event EventHandler<LoadImageEventArgs> LoadImageFromUrl
Event Type
System.EventHandler<LoadImageEventArgs>
|