Skip to main content

HtmlDocumentImporterOptions Members

Contains options used for loading (importing) the HTML document.

Constructors

Name Description
HtmlDocumentImporterOptions() Initializes a new instance of the HtmlDocumentImporterOptions class with the default settings.

Properties

Name Description
AsyncImageLoading Gets or sets whether images are loaded synchronously or asynchronously when importing an HTML document.
AutoDetectEncoding Gets or sets whether to enable the auto-detection of the loaded text encoding.
Encoding Gets or sets the encoding used to interpret characters in the document.
FontScalingDpiValue Gets or sets the DPI value that will be used to scale fonts on high DPI settings.
IgnoreFloatProperty Specifies whether or not to ignore the “float” setting of HTML elements in the imported document.
IgnoreMediaQueries Gets or sets whether to ignore media rules on HTML import.
IgnoreMetaCharset Gets or sets whether the character encoding specified in the META element should be ignored.
ImageScalingDpi Gets or sets the DPI value used to scale images on high DPI settings.
ReplaceSpaceWithNonBreakingSpaceInsidePre Specifies whether or not to replace all white space characters inside the “pre” tag with non-breaking spaces.
SourceUri Gets or sets the base URI for the external content of the document. Inherited from DocumentImporterOptions.
UpdateField Overrides the corresponding property of the base class to hide it. Has no effect for HTML import.

Methods

Name Description
Assign(BaseOptions) Copies all settings from the options object passed as a parameter. Inherited from BaseOptions.
BeginUpdate() Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions.
CancelUpdate() Unlocks the BaseOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseOptions.
CopyFrom(IImporterOptions) Copies the appropriate properties of the specified object into the current instance of the HtmlDocumentImporterOptions class.
EndUpdate() Unlocks the BaseOptions object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseOptions.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reset() Resets all notification options to their default values. Inherited from RichEditNotificationOptions.
ToString() Returns a string representing the currently enabled options. Inherited from BaseOptions.

Events

Name Description
Changed Occurs when the options are modified. Inherited from RichEditNotificationOptions.
See Also