Skip to main content

MhtDocumentImporterOptions Members

Contains options used for loading (importing) the document in Mht (Web Archive) format.

Constructors

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

Properties

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

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. Inherited from HtmlDocumentImporterOptions.
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